﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: #F8FAFC;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 440px;
    padding: 20px;
}

.signup-card {
    background: white;
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

    .logo span {
        font-size: 20px;
        color: #111827;
    }

h1 {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.subtitle {
    text-align: center;
    color: #6B7280;
    font-size: 14px;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 16px;
}

label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    margin-bottom: 8px;
}

    label.error {
        color: #EF4444;
    }

input {
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    outline: none;
}

    input:focus {
        border-color: #4361EE;
        box-shadow: 0 0 0 1px #4361EE;
    }

.password-input {
    position: relative;
}

.show-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.password-hint {
    margin-top: 6px;
    font-size: 12px;
    color: #6B7280;
    display: flex;
    align-items: center;
    gap: 4px;
}

    .password-hint::before {
        content: "";
        display: inline-block;
        width: 12px;
        height: 12px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpath d='M12 16v-4'%3E%3C/path%3E%3Cpath d='M12 8h.01'%3E%3C/path%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
    }

.text-danger {
    color: #EF4444;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

.signup-button {
    width: 100%;
    padding: 10px;
    background: #4361EE;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin: 24px 0;
    transition: background-color 0.3s ease;
}

    .signup-button:hover {
        background: #3651D4;
    }

.divider {
    position: relative;
    text-align: center;
    margin: 24px 0;
}

    .divider::before,
    .divider::after {
        content: "";
        position: absolute;
        top: 50%;
        width: calc(50% - 80px);
        height: 1px;
        background: #E5E7EB;
    }

    .divider::before {
        left: 0;
    }

    .divider::after {
        right: 0;
    }

    .divider span {
        background: white;
        padding: 0 16px;
        color: #6B7280;
        font-size: 12px;
        text-transform: uppercase;
    }

.google-button {
    width: 100%;
    padding: 8px;
    background: white;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .google-button img {
        width: 20px;
        height: 20px;
    }

    .google-button:hover {
        background: #F9FAFB;
    }

.login-text {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: #6B7280;
}

    .login-text a {
        color: #4361EE;
        text-decoration: none;
        font-weight: 500;
        transition: text-decoration 0.3s ease;
    }

        .login-text a:hover {
            text-decoration: underline;
        }

.alert {
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 14px;
}

.alert-info {
    background-color: #E0F2FE;
    color: #0369A1;
    border: 1px solid #BAE6FD;
}

.alert-danger {
    background-color: #FEE2E2;
    color: #DC2626;
    border: 1px solid #FECACA;
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .signup-card {
        padding: 20px;
    }

    h1 {
        font-size: 20px;
    }

    .subtitle {
        font-size: 12px;
    }
}
