* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #4a2c5a;
    --orange: #c4975a;
    --green: #c4975a;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray-medium: #666666;
    --gray-dark: #333333;
    --border-color: #ddd;
    --purple-dark: #2d1b36;
    --purple-medium: #4a2c5a;
    --purple-light: #6b4c7a;
    --gold: #c4975a;
    --gold-hover: #b8895a;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--gray-light);
    line-height: 1.6;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple-medium) 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: block;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-logo h2 {
    color: var(--white);
    font-size: 1.8rem;
    margin: 0;
}

.nav-left-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-right {
    display: flex;
    align-items: center;
}

.nav-right-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover {
    color: #b8d4f0;
    background: rgba(255, 255, 255, 0.1);
}

.nav-login {
    color: var(--white) !important;
}

.nav-login:hover {
    color: #b8d4f0 !important;
    background: rgba(255, 255, 255, 0.1);
}

.nav-login i {
    font-size: 0.9rem;
}

.nav-register {
    background: #4caf50 !important;
    color: var(--white) !important;
    border-radius: 6px;
    padding: 10px 20px;
    font-weight: 600;
}

.nav-register:hover {
    background: #45a049 !important;
    color: var(--white) !important;
}

.nav-recruiting {
    color: var(--white) !important;
}

.nav-recruiting:hover {
    color: #b8d4f0 !important;
    background: rgba(255, 255, 255, 0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: 20px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: all 0.3s ease;
}

.back-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Forgot Password Styles */
.reset-info {
    text-align: center;
    margin-bottom: 30px;
}

.reset-info h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-dark);
    margin-bottom: 10px;
}

.reset-info p {
    color: var(--gray-medium);
    font-size: 1rem;
    line-height: 1.5;
}

.back-to-login {
    text-align: center;
    margin-top: 20px;
}

.back-to-login a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.back-to-login a:hover {
    color: var(--primary-blue-dark);
}

.reset-success {
    text-align: center;
    padding: 30px 20px;
}

.success-icon {
    margin-bottom: 20px;
}

.success-icon i {
    font-size: 3rem;
    color: #22c55e;
}

.reset-success h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-dark);
    margin-bottom: 15px;
}

.reset-success p {
    color: var(--gray-medium);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.reset-success strong {
    color: var(--gray-dark);
}

.reset-success a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
}

.reset-success a:hover {
    text-decoration: underline;
}

.error-message {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-left-menu {
        display: none;
    }
    
    .nav-left {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .nav-right-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: #1e4a72;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        gap: 15px;
    }

    .nav-right-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-left-menu {
        display: none;
    }
}

/* Search Stats Bar */
.search-stats-bar {
    background: var(--white);
    padding: 8px 0;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    position: fixed;
    top: 60px;
    width: 100%;
    z-index: 999;
}

.search-stats-text {
    font-size: 14px;
    color: var(--gray-dark);
    margin: 0;
}

.stats-number {
    color: var(--green);
    font-weight: 600;
}

/* Login Section */
.login-section {
    padding: 140px 20px 40px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.login-container {
    background: var(--white);
    border-radius: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

/* Login Tabs */
.login-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
}

.tab {
    flex: 1;
    padding: 12px 20px;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    position: relative;
}

.tab:first-child {
    background: var(--primary-blue);
    color: var(--white);
}

.tab:last-child {
    background: var(--orange);
    color: var(--white);
}

.tab:first-child::after {
    content: '▼';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
}

.tab:last-child::after {
    content: '▶';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
}

.tab.active {
    opacity: 1;
}

.tab:not(.active) {
    opacity: 0.9;
}

.tab:hover {
    opacity: 1;
}

/* Login Content */
.login-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 450px;
}

.login-form-container {
    padding: 30px;
    border-right: 1px solid var(--border-color);
}

.login-form {
    max-width: 100%;
}

.form-group {
    margin-bottom: 16px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--gray-dark);
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 32px;
    color: var(--gray-medium);
    cursor: pointer;
    font-size: 14px;
}

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

.forgot-password {
    margin-bottom: 8px;
}

.forgot-password a {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 13px;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.keep-logged {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.keep-logged input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.login-btn {
    width: 100%;
    background: var(--green);
    color: var(--white);
    border: none;
    padding: 12px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 15px;
}

.login-btn:hover {
    background: #45a049;
}

.terms-text {
    font-size: 11px;
    color: var(--gray-medium);
    line-height: 1.4;
}

.terms-text a {
    color: var(--primary-blue);
    text-decoration: none;
}

.terms-text a:hover {
    text-decoration: underline;
}

/* Register Section */
.register-section {
    padding: 30px;
    background: #ffffff;
}

.register-section h3 {
    font-size: 16px;
    color: var(--gray-dark);
    margin-bottom: 20px;
    font-weight: 600;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.feature-item i {
    color: var(--primary-blue);
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    width: 20px;
}

.feature-text {
    flex: 1;
}

.feature-text strong {
    display: block;
    color: var(--gray-dark);
    font-size: 13px;
    margin-bottom: 2px;
    font-weight: 600;
}

.feature-text p {
    color: var(--gray-medium);
    font-size: 12px;
    margin: 0;
    line-height: 1.3;
}

.register-btn {
    width: 100%;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 10px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.register-btn:hover {
    background: #1565c0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-content {
        grid-template-columns: 1fr;
    }

    .login-form-container {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 25px 20px;
    }

    .register-section {
        padding: 25px 20px;
    }

    .login-container {
        margin: 0 10px;
        max-width: 100%;
    }

    .tab {
        padding: 10px 15px;
        font-size: 13px;
    }

    .tab::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .login-section {
        padding: 95px 10px 20px;
    }

    .login-form-container,
    .register-section {
        padding: 20px 15px;
    }

    .tab {
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple-medium) 100%);
    color: var(--white);
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-brand h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.social-section h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-column ul li a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-column ul li a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--white);
    transition: width 0.3s ease;
}

.footer-column ul li a:hover::before {
    width: 100%;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin: 0;
    letter-spacing: 0.25px;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
        text-align: center;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-column {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-column {
        text-align: center;
    }

    .footer-brand {
        gap: 20px;
    }

    .social-links {
        justify-content: center;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}