/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

a {
    text-decoration: none;
    color: #2e7d32;
}

a:hover {
    text-decoration: underline;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

/* Container Styles */
.container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.app-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Authentication Pages */
.auth-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    padding: 30px;
    margin: 0 auto;
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo img {
    width: 80px;
    height: 80px;
}

.logo h1 {
    font-size: 24px;
    color: #2e7d32;
    margin-top: 10px;
}

.auth-form h2 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-group.remember {
    display: flex;
    align-items: center;
}

.form-group.remember input {
    width: auto;
    margin-right: 10px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary {
    background-color: #2e7d32;
    color: white;
    width: 100%;
}

.btn-primary:hover {
    background-color: #1b5e20;
}

.btn-secondary {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.btn-secondary:hover {
    background-color: #c8e6c9;
}

.auth-links {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

/* Header and Navigation */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-small {
    display: flex;
    align-items: center;
}

.logo-small img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.logo-small h1 {
    font-size: 18px;
    color: #2e7d32;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    color: #555;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 5px;
}

nav ul li a:hover {
    background-color: #e8f5e9;
    text-decoration: none;
}

nav ul li a.active {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.user-info {
    display: flex;
    align-items: center;
}

.user-info span {
    margin-right: 10px;
    font-size: 14px;
}

.user-info img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

/* Main Content */
main {
    flex: 1;
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.page-title {
    margin-bottom: 30px;
}

.page-title h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 5px;
}

.page-title p {
    color: #666;
}

.highlight {
    font-weight: 600;
    color: #2e7d32;
}

/* Scanner Page */
.scanner-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.scanner-frame {
    width: 100%;
    height: 300px;
    background-color: #f5f5f5;
    border: 2px dashed #ddd;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 20px;
}

.scanner-overlay {
    width: 250px;
    height: 250px;
    border: 2px solid #2e7d32;
    border-radius: 10px;
    position: relative;
}

.scanner-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #2e7d32;
    animation: scan 2s infinite;
}

@keyframes scan {
    0% { top: 0; }
    50% { top: 100%; }
    100% { top: 0; }
}

.scanner-message {
    margin-top: 20px;
    color: #666;
    text-align: center;
}

.scanner-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.scanner-history h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.scanner-history ul {
    border-top: 1px solid #eee;
}

.scanner-history li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.scanner-history .code {
    font-weight: 600;
    color: #2e7d32;
}

.scanner-history .product {
    flex: 1;
    margin: 0 15px;
}

.scanner-history .date {
    color: #777;
    font-size: 14px;
}

.view-details {
    color: #2e7d32;
    font-size: 14px;
    margin-left: 15px;
}

/* Query Page */
.query-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.query-form {
    max-width: 600px;
    margin: 0 auto 30px;
    display: flex;
    gap: 15px;
    align-items: flex-end;
}

.query-form .form-group {
    flex: 1;
    margin-bottom: 0;
}

.query-tips {
    background-color: #e8f5e9;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.query-tips h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #2e7d32;
}

.query-tips ul {
    padding-left: 20px;
}

.query-tips li {
    margin-bottom: 8px;
    list-style-type: disc;
    color: #555;
}

.recent-queries h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th, table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

table th {
    background-color: #f5f7fa;
    font-weight: 600;
    color: #555;
}

/* Details Page */
.details-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.product-summary {
    display: flex;
    margin-bottom: 30px;
    gap: 30px;
}

.product-image {
    width: 200px;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    flex: 1;
}

.product-info h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #2e7d32;
}

.info-row {
    display: flex;
    margin-bottom: 10px;
}

.info-row .label {
    width: 150px;
    font-weight: 600;
    color: #555;
}

.info-row .value {
    flex: 1;
}

.details-tabs {
    margin-bottom: 30px;
}

.tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 12px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
}

.tab-btn.active {
    color: #2e7d32;
    border-bottom-color: #2e7d32;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
}

.tab-content h4 {
    font-size: 18px;
    margin: 20px 0 15px;
    color: #444;
}

.product-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

/* Footer */
footer {
    background-color: #f5f7fa;
    padding: 20px;
    text-align: center;
    color: #777;
    font-size: 14px;
    border-top: 1px solid #eee;
}

/* Responsive Styles */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px;
    }
    
    .logo-small {
        margin-bottom: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 15px;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    main {
        padding: 20px 15px;
    }
    
    .product-summary {
        flex-direction: column;
    }
    
    .product-image {
        width: 100%;
        max-width: 300px;
        margin: 0 auto 20px;
    }
    
    .tabs {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1;
        min-width: 120px;
        text-align: center;
        padding: 10px;
    }
    
    .query-form {
        flex-direction: column;
        gap: 20px;
    }
    
    .query-form .btn {
        width: 100%;
    }
    
    .info-row {
        flex-direction: column;
    }
    
    .info-row .label {
        width: 100%;
        margin-bottom: 5px;
    }
    
    table {
        display: block;
        overflow-x: auto;
    }
	
	
	
	/* Çalışanlar sekmesi için stiller */
.employee-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
}

.employee-table th, 
.employee-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.employee-info {
    display: flex;
    align-items: center;
}

.employee-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

.employee-name {
    font-weight: 600;
    margin-bottom: 2px;
}

.employee-since {
    font-size: 12px;
    color: #666;
}

.section-description {
    color: #666;
    margin-bottom: 20px;
}

.btn-small {
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 4px;
    display: inline-block;
    background-color: #e8f5e9;
    color: #2e7d32;
    text-align: center;
}

.btn-small:hover {
    background-color: #c8e6c9;
    text-decoration: none;
}
	
	.profile-container {
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            padding: 30px;
            margin-bottom: 30px;
        }
        
        .profile-header {
            display: flex;
            align-items: center;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 1px solid #eee;
        }
        
        .profile-avatar {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
            margin-right: 30px;
            border: 4px solid #e8f5e9;
        }
        
        .profile-info h3 {
            font-size: 24px;
            margin-bottom: 5px;
            color: #333;
        }
        
        .profile-position {
            font-size: 18px;
            color: #2e7d32;
            margin-bottom: 10px;
        }
        
        .profile-meta {
            color: #666;
            font-size: 14px;
        }
        
        .profile-meta span {
            display: inline-block;
            margin-right: 15px;
        }
        
        .profile-section {
            margin-bottom: 30px;
        }
        
        .profile-section h4 {
            font-size: 18px;
            margin-bottom: 15px;
            color: #333;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
        }
        
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }
        
        .stat-card {
            background-color: #f9f9f9;
            border-radius: 8px;
            padding: 15px;
            text-align: center;
        }
        
        .stat-value {
            font-size: 24px;
            font-weight: 600;
            color: #2e7d32;
            margin-bottom: 5px;
        }
        
        .stat-label {
            font-size: 14px;
            color: #666;
        }
        
        .contact-info {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
        }
        
        .contact-item {
            flex: 1;
            min-width: 200px;
            background-color: #f9f9f9;
            border-radius: 8px;
            padding: 15px;
        }
        
        .contact-label {
            font-size: 14px;
            color: #666;
            margin-bottom: 5px;
        }
        
        .contact-value {
            font-weight: 500;
        }
        
        .back-button {
            margin-bottom: 20px;
            display: inline-block;
        }
	
	
}