/* STYLES.CSS FOR GLOBAL STYLES, CHECK CSS IMPORTS FOR ADDITIONAL FILES */

/* GOOGLE FONT IMPORTS HERE */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Oswald:wght@200..700&display=swap');

:root {
    --tech-dark: #0d1117;
    --tech-darker: #090c10;
    --tech-medium: #161b22;
    --tech-border: #30363d;
    --tech-highlight: #1a61e0;
    --tech-highlight-alt: #58a6ff;
    --tech-success: #238636;
    --tech-danger: #da3633;
    --tech-warning: #bb8009;
    --tech-text: #c9d1d9;
    --tech-text-dim: #8b949e;
    --tech-text-bright: #f0f6fc;
    --tech-neon-glow: 0 0 10px rgba(88, 166, 255, 0.4);
}

body {    
    font-family: 'Oswald', sans-serif;
    background-color: black;
    color: var(--tech-text);
}

/* Header and Navigation Styling */
.tech-navbar {
    background-color: var(--tech-darker);
    border-bottom: 1px solid var(--tech-border);
    padding: 0.75rem 1rem;
}

.tech-brand {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    color: var(--tech-highlight-alt) !important;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(88, 166, 255, 0.6);
    padding: 0;
    margin-right: 2rem;
}

.company-logo {
    height: 100px;
    width: auto;
    margin-right: 45px;
}

.tech-nav-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

.tech-main-nav {
    margin-right: 2rem;
    border-right: 1px solid var(--tech-border);
    padding-right: 2rem;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--tech-text);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    margin: 0 0.25rem;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    background-color: var(--tech-medium);
    color: var(--tech-highlight-alt);
    box-shadow: 0 0 5px rgba(88, 166, 255, 0.3);
}

.tech-user-nav .nav-link {
    display: flex;
    align-items: center;
}

/* Dropdown menu styling */
.tech-dropdown {
    background-color: var(--tech-medium);
    border: 1px solid var(--tech-border);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    padding: 0.5rem 0;
}

.tech-dropdown .dropdown-item {
    color: var(--tech-text);
    padding: 0.6rem 1.5rem;
}

.tech-dropdown .dropdown-item:hover,
.tech-dropdown .dropdown-item:focus {
    background-color: var(--tech-highlight);
    color: var(--tech-text-bright);
}

.tech-dropdown .dropdown-divider {
    border-top: 1px solid var(--tech-border);
    margin: 0.5rem 0;
}

/* navbar profile pic area */
.navbar-profile-pic {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--tech-highlight);
    vertical-align: middle;
}

.dropdown-profile-pic {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--tech-border);
}

.nav-link:hover .navbar-profile-pic {
    border-color: var(--tech-text-bright);
    box-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .tech-nav-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .tech-main-nav {
        border-right: none;
        padding-right: 0;
        margin-right: 0;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .tech-user-nav {
        width: 100%;
        border-top: 1px solid var(--tech-border);
        padding-top: 1rem;
    }
}

.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    background: radial-gradient(circle at center, rgba(26, 97, 224, 0.08), transparent 70%);
}

.login-container {
    width: 100%;
    max-width: 450px;
    padding: 35px;
    background-color: var(--tech-medium);
    border: 1px solid var(--tech-border);
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--tech-border);
    margin: 20px;
}

.login-container h2 {
    color: var(--tech-text-bright);
    font-size: 2rem;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.login-container h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--tech-highlight);
    border-radius: 2px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--tech-text-dim);
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--tech-darker);
    border: 1px solid var(--tech-border);
    border-radius: 4px;
    color: var(--tech-text);
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-group input:focus {
    border-color: var(--tech-highlight);
    box-shadow: 0 0 0 3px rgba(26, 97, 224, 0.2);
    outline: none;
}

.login-container button {
    display: block;
    width: 100%;
    padding: 14px;
    margin-top: 30px;
    background-color: var(--tech-highlight);
    color: var(--tech-text-bright);
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.login-container button:hover {
    background-color: var(--tech-highlight-alt);
    transform: translateY(-2px);
    box-shadow: var(--tech-neon-glow);
}

.login-footer {
    margin-top: 25px;
    text-align: center;
    color: var(--tech-text-dim);
    font-size: 0.9rem;
}

.login-footer a {
    color: var(--tech-highlight);
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* USER PROFILE PAGE STYLES */
.profile-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.profile-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    color: white;
    margin-bottom: 30px;
}

.profile-pic-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-picture {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 15px;
    object-fit: cover;
}

.default-profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.default-profile-pic i {
    font-size: 60px;
    color: rgba(255, 255, 255, 0.8);
}

.profile-header h2 {
    margin: 0;
    font-size: 2rem;
    margin-bottom: 5px;
}

.user-email {
    margin: 0;
    opacity: 0.9;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.admin-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.profile-tabs {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.tab-btn {
    flex: 1;
    padding: 15px 20px;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 500;
    color: #6c757d;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
}

.tab-btn.active {
    background: white;
    color: #007bff;
    border-bottom: 3px solid #007bff;
}

.tab-content {
    display: none;
    padding: 30px;
}

.tab-content.active {
    display: block;
}

/* Overview Tab */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.overview-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 25px;
    border-radius: 15px;
    color: white;
    text-align: center;
}

.overview-card h3 {
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    opacity: 0.9;
}

.overview-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 10px 0;
}

.overview-text {
    margin: 0;
    opacity: 0.8;
}

/* Profile Section */
.profile-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.profile-section h3 {
    margin: 0 0 20px 0;
    color: #333;
}

.profile-form {
    display: flex;
    align-items: end;
    gap: 15px;
}

.form-group {
    flex: 1;
}

.file-input {
    width: 100%;
    padding: 10px;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    background: white;
}

/* Orders Table */
.orders-table-container {
    overflow-x: auto;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.orders-table th,
.orders-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.orders-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #495057;
}

.priority-badge {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.priority-high {
    background: #ffebee;
    color: #c62828;
}

.priority-medium {
    background: #fff3e0;
    color: #ef6c00;
}

.priority-low {
    background: #e8f5e8;
    color: #2e7d32;
}

/* Documents Section */
.upload-form {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.upload-form .form-group {
    margin-bottom: 20px;
}

.upload-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    font-size: 1rem;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.document-card {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.document-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.document-icon {
    text-align: center;
    margin-bottom: 15px;
}

.document-icon i {
    font-size: 3rem;
    color: #6c757d;
}

.document-info h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1.1rem;
}

.document-meta {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.document-description {
    color: #495057;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.document-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* Settings Section */
.settings-form {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.settings-info {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 25px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f8f9fa;
}

.info-item label {
    font-weight: 500;
    color: #495057;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    margin: 0 0 10px 0;
}

.empty-state p {
    margin: 0;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-success:hover {
    background: #1e7e34;
}

.btn-warning {
    background: #ffc107;
    color: #212529;
}

.btn-warning:hover {
    background: #e0a800;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.875rem;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-container {
        padding: 10px;
    }
    
    .profile-header {
        padding: 20px;
    }
    
    .tab-buttons {
        flex-direction: column;
    }
    
    .tab-content {
        padding: 20px;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
    }
    
    .documents-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-form {
        flex-direction: column;
        align-items: stretch;
    }
}