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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #e0e7f1 0%, #c8d5e8 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.login-container,
.register-container {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 48px 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.avatar-container {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.avatar {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.avatar svg {
    width: 36px;
    height: 36px;
    stroke: #64748b;
    stroke-width: 2;
    fill: none;
}

h1 {
    text-align: center;
    color: #1e293b;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
}

.subtitle {
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 32px;
}

.input-group {
    margin-bottom: 20px;
    position: relative;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    width: 20px;
    height: 20px;
    stroke: #94a3b8;
    stroke-width: 2;
    fill: none;
}

input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    color: #1e293b;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

input::placeholder {
    color: #cbd5e1;
}

input:focus {
    outline: none;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.toggle-password {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.toggle-password svg {
    width: 20px;
    height: 20px;
    stroke: #94a3b8;
    stroke-width: 2;
    fill: none;
}

.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #64748b;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    padding: 0;
}

.forgot-password {
    font-size: 14px;
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #3b82f6;
}

.sign-in-btn,
.register-btn {
    width: 100%;
    padding: 14px;
    background: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.sign-in-btn:hover,
.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.register-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.divider {
    display: flex;
    align-items: center;
    margin: 32px 0 24px;
    gap: 16px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(148, 163, 184, 0.3);
}

.divider-text {
    color: #cbd5e1;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}



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

.signup-link a,
.signin-link a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    margin-left: 4px;
}

.signup-link a:hover,
.signin-link a:hover {
    text-decoration: underline;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #64748b;
}

.terms-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

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

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

.password-strength {
    margin-top: 8px;
    height: 4px;
    background: rgba(203, 213, 225, 0.3);
    border-radius: 2px;
    overflow: hidden;
}

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

.strength-weak {
    width: 33%;
    background: #ef4444;
}

.strength-medium {
    width: 66%;
    background: #f59e0b;
}

.strength-strong {
    width: 100%;
    background: #10b981;
}

select {
    width: 100%;
    padding: 14px 48px 14px 48px;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    color: #cbd5e1;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

select:focus {
    outline: none;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

select:valid {
    color: #1e293b;
}

select option {
    padding: 10px;
    background: white;
    color: #1e293b;
}

select option[disabled] {
    color: #cbd5e1;
}

.dropdown-arrow {
    position: absolute;
    right: 16px;
    width: 20px;
    height: 20px;
    stroke: #94a3b8;
    stroke-width: 2;
    fill: none;
    pointer-events: none;
}
