* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

/* Full-screen container */
.full-screen-container {
    display: flex;
    background-color: white;
    /* This should be your page background */
}

/* GIF container at the top */
.gif-container {
    width: 100%;
    background-color: white;
}

.gif-container img {
    /* width: 120px; */
    height: auto;
    border-radius: 8px;
}

/* Subcontainer for form (50% width, 100% height) */
.form-subcontainer {
    width: 50%;
    min-height: calc(100vh - 160px);
    margin-top: 4%;
    margin-right: 15%;
    background-color: white;
    /* border-radius: 12px 12px 0 0; */
}

.google-btn i.fa-google {
    color: #4285F4;
    /* Google blue */
    width: 20px;
    background: conic-gradient(from -45deg,
            #4285F4 20%,
            #34A853 20% 40%,
            #FBBC05 40% 60%,
            #EA4335 60% 80%,
            #4285F4 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Facebook button with colored icon */
.facebook-btn i.fa-facebook-f {
    width: 20px;
    color: #1877F2;
    /* Facebook blue */
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo h1 {
    color: #333;
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 24px;
}

.logo p {
    color: #666;
    font-size: 18px;
    margin-bottom: 42px;
}

.social-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.social-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15)
}

.social-btn i {
    margin-right: 8px;
    font-size: 18px;
}

.google-btn {
    background-color: #ffffff;
    color: #5f6368;
    border: 1px solid #dadce0;
}

.google-btn:hover {
    background-color: #f8f9fa;
    border-color: #d2e3fc;
}

.facebook-btn {
    background-color: #ffffff;
    color: #5f6368;
    border: 1px solid #dadce0;
}

.facebook-btn:hover {
    background-color: #f8f9fa;
    border-color: #d2e3fc;
}

.divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: #999;
    font-size: 14px;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #eee;
}

.divider::before {
    margin-right: 16px;
}

.divider::after {
    margin-left: 16px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #6c63ff;
}

.create-account-btn {
    width: 100%;
    padding: 14px;
    background-color: #6c63ff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 10px;
}

.create-account-btn:hover {
    background-color: #5a52e0;
}

.terms {
    margin-top: 24px;
    color: #666;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

.terms a {
    color: #6c63ff;
    text-decoration: none;
}

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

.password-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
}

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

.input-error {
    border-color: #e74c3c !important;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .form-subcontainer {
        width: 70%;
    }
}

@media (max-width: 768px) {
    .form-subcontainer {
        width: 90%;
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .form-subcontainer {
        width: 100%;
        padding: 20px;
    }

    /* .full-screen-container {
        min-height: 100vh;
        width: 100vw;
        display: flex;
        flex-direction: column;
        background-color: #f8f9fa;
        /* This should be your page background */
}

*/ .form-subcontainer {
    min-height: auto;
}

/* Phone number input container */
.phone-group label {
    display: block;
    margin-bottom: 8px;
}

.phone-input-container {
    display: flex;
    gap: 10px;
    width: 100%;
}

.country-code {
    flex: 0 0 100px;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background-color: white;
}

.phone-number {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

/* Course select dropdown */
.course-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background-color: white;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

/* Focus states */
.country-code:focus,
.phone-number:focus,
.course-select:focus {
    outline: none;
    border-color: #6c63ff;
}

/* Error states */
.country-code.input-error,
.phone-number.input-error,
.course-select.input-error {
    border-color: #e74c3c;
}
.auth-redirect {
    text-align: center;
    margin: 20px 0;
    font-size: 16px;
    color: #666;
}

.signup-link {
    font-weight: 600;
    color: #6c63ff;
    text-decoration: none;
    margin-left: 5px;
}

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