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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    color: #374151;
}

.header {
    background: rgba(30, 58, 138, 0.95);
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    width: 100%;
}

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

.logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 20px;
}

.logo-icon {
    background: #22c55e;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 0;
    margin-right: 8px;
    font-weight: 900;
    font-size: 18px;
    transform: rotate(45deg);
    display: inline-block;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -1px;
    transition: all 0.3s ease;
}

.logo-icon:hover {
    transform: rotate(45deg) scale(1.05);
}

.logo-text {
    color: white;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0px;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

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

.nav-link.login {
    color: white;
}

.nav-link.register {
    background: #22c55e;
    color: white;
    font-weight: 600;
}

.nav-link.register:hover {
    background: #16a34a;
}

.nav-link.recruiting {
    color: white;
}

.registration-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px);
    padding: 40px 20px;
}

.registration-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 700px;
}

.registration-tabs {
    display: flex;
    background: #f8fafc;
}

.tab-button {
    flex: 1;
    padding: 16px 24px;
    background: transparent;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #64748b;
}

.tab-button:first-child {
    background: #1e40af;
    color: white;
}

.tab-button:last-child {
    background: #f59e0b;
    color: white;
}

.tab-button.active:first-child {
    background: #1e40af;
    color: white;
}

.tab-button.active:last-child {
    background: #f59e0b;
    color: white;
}

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

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

.registration-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

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

.form-group.error input,
.form-group.error select {
    border-color: #dc2626;
    background-color: #fef2f2;
}

.form-group.error input:focus,
.form-group.error select:focus {
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-group.success input,
.form-group.success select {
    border-color: #059669;
    background-color: #f0fdf4;
}

.error-message {
    color: #dc2626;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

.strength-indicator {
    height: 4px;
    width: 100%;
    background: #e5e7eb;
    border-radius: 2px;
    margin-top: 6px;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-weak { background: #dc2626; width: 25%; }
.strength-fair { background: #f59e0b; width: 50%; }
.strength-good { background: #059669; width: 75%; }
.strength-strong { background: #047857; width: 100%; }

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #111827;
    font-size: 14px;
    letter-spacing: 0.025em;
}

.required::after {
    content: " *";
    color: #dc2626;
    font-weight: 500;
}

.input-wrapper {
    position: relative;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    color: #374151;
    transition: all 0.2s ease;
    background: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.form-group input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #2563eb;
    background: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-group input:hover:not(:focus),
.form-group select:hover:not(:focus) {
    border-color: #9ca3af;
}

.input-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 16px;
    pointer-events: none;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
    padding: 8px 0;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 12px;
    margin-top: 2px;
    width: 18px;
    height: 18px;
    accent-color: #2563eb;
    flex-shrink: 0;
}

.radio-group {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-top: 8px;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
}

.radio-option input[type="radio"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    accent-color: #2563eb;
}

.checkbox-label a {
    color: #3b82f6;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.registration-button {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 32px 0 24px 0;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
    letter-spacing: 0.025em;
    position: relative;
    overflow: hidden;
}

.registration-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.registration-button:hover::before {
    left: 100%;
}

.registration-button:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
    transform: translateY(-1px);
}

.registration-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
}

.registration-button.recruiter-button {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.registration-button.recruiter-button:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.login-link {
    text-align: center;
    font-size: 14px;
    color: #64748b;
}

.login-link a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

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

.employment-section {
    border-top: 1px solid #e5e7eb;
    padding-top: 32px;
    margin-top: 32px;
    position: relative;
}

.employment-section::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #2563eb, #1d4ed8);
}

.employment-section h3 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 24px;
    letter-spacing: -0.025em;
    display: flex;
    align-items: center;
}

.employment-section h3::before {
    content: "💼";
    margin-right: 8px;
    font-size: 18px;
}

.file-input {
    padding: 16px !important;
    background: #f9fafb !important;
    border: 2px dashed #d1d5db !important;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    font-size: 14px;
    color: #6b7280;
    position: relative;
}

.file-input::before {
    content: "📎 ";
    font-size: 16px;
    margin-right: 4px;
}

.file-input:hover {
    border-color: #2563eb !important;
    background: #eff6ff !important;
    color: #2563eb;
}

.file-input:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
    background: #eff6ff !important;
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-menu {
        gap: 15px;
    }
    
    .registration-card {
        margin: 20px;
    }
    
    .tab-content {
        padding: 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
