@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #00d0f6;
    --primary-dark: #0096b0;
    --primary-glow: rgba(0, 208, 246, 0.2);
    --bg-light: #f0f9ff;
    --card-bg: #ffffff;
    --input-bg: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: linear-gradient(135deg, #e0f2fe 0%, #00d0f6 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

.auth-container {
    width: 100%;
    max-width: 400px;
    background: var(--card-bg);
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: 0 20px 40px rgba(0, 70, 100, 0.1);
    animation: fadeIn 0.6s ease-out;
    position: relative;
    z-index: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-section {
    text-align: center;
    margin-bottom: 35px;
}

.logo-img {
    width: 70px;
    height: 70px;
    margin-bottom: 12px;
    object-fit: contain;
}

.auth-title {
    color: var(--text-main);
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

.auth-subtitle {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}

.form-group {
    margin-bottom: 22px;
    position: relative;
}

.form-group label {
    display: block;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    margin-left: 2px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    color: var(--primary-color);
    font-size: 16px;
}

.form-control {
    width: 100%;
    background: var(--input-bg);
    border: 1.5px solid var(--border-color);
    border-radius: 14px;
    padding: 14px 16px 14px 48px;
    color: var(--text-main);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.25s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.form-control::placeholder {
    color: #94a3b8;
}

.phone-prefix {
    position: absolute;
    left: 45px;
    color: var(--text-main);
    font-weight: 700;
    font-size: 15px;
}

.form-control.with-prefix {
    padding-left: 80px;
}

.auth-btn {
    width: 100%;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 15px rgba(0, 208, 246, 0.25);
}

.auth-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(0, 208, 246, 0.35);
}

.auth-btn:active {
    transform: translateY(0);
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    color: var(--text-muted);
    font-size: 14px;
}

.auth-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s ease;
}

.auth-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.forgot-password {
    display: block;
    text-align: right;
    margin-top: -12px;
    margin-bottom: 20px;
    font-size: 13px;
    font-weight: 600;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 10px;
}

.checkbox-group input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    margin-top: 2px;
    cursor: pointer;
}

.checkbox-label {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.checkbox-label a {
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 480px) {
    .auth-container {
        padding: 35px 22px;
    }
}