body {
    background: linear-gradient(to right, #F28383 10%, #9D6CD2 30%, #481EDC 90%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.container {
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 20px;
    max-width: 800px;
    width: 100%;
    margin: 20px;
}

.image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    margin-right: 20px;
}

.login-image {
    border-radius: 10px;
    width: 100%;
    max-width: 300px;
}
.success-container{
    color: var(--text-light)
}
.form-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title {
    font-size: 2rem;
    color: white;
    margin-bottom: 20px;
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.social-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(to right, #00c6ff, #0072ff);
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
}

.social-button.google {
    background: linear-gradient(to right, #4285F4, #34A853);
}

.social-button.facebook {
    background: linear-gradient(to right, #3b5998, #8b9dc3);
}

.login-form, .signup-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.icon {
    position: absolute;
    left: 10px;
    color: #0072ff;
}

.input-field {
    width: 100%;
    padding: 10px 10px 10px 40px;
    border-radius: 20px;
    border: none;
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
}

.show_password {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.submit-button {
    background: linear-gradient(to right, #00c6ff, #0072ff);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-button:hover {
    background: linear-gradient(to right, #0072ff, #00c6ff);
}

.additional-links, .form-toggle {
    margin-top: 20px;
    text-align: center;
    color: white;
}

.additional-links a, .form-toggle a {
    color: #00c6ff;
    text-decoration: none;
    font-weight: bold;
}

.additional-links a:hover, .form-toggle a:hover {
    text-decoration: underline;
}

/* Placeholder text color */
::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Focus styles */
.input-field:focus {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 5px rgba(0, 198, 255, 0.5);
}

.form-group input[name="institution"] {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: var(--input-bg);
    color: var(--text-color);
    transition: border-color 0.3s ease;
}

.form-group input[name="institution"]:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.1);
}

/* Payment page styles */
.payment-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.plan-details {
    margin: 30px 0;
    padding: 20px;
    background: var(--input-bg);
    border-radius: 8px;
}

.price {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
    margin: 15px 0;
}

.features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.features li {
    padding: 8px 0;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.features li:before {
    content: "✓";
    color: var(--primary-color);
    margin-right: 10px;
}


/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .image-container {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .title {
        font-size: 1.5rem;
    }

    .input-field {
        padding: 8px 8px 8px 35px;
        font-size: 0.9rem;
    }

    .submit-button {
        padding: 8px;
        font-size: 0.9rem;
    }

    .form-toggle {
        font-size: 0.9rem;
    }
}
:root {
    /* Light mode colors */
    --primary-color: #8244af;
    --primary-light: #9f5cc8;
    --background-light: #ffffff;
    --card-bg-light: #ffffff;
    --text-dark: #2d2d2d;
    --text-gray: #555555;
    --border-light: #eaeaea;

    /* Dark mode colors */
    --background-dark: #1a1a1a;
    --card-bg-dark: #2d2d2d;
    --border-dark: #3d3d3d;
    --text-light: #f0f0f0;
    --text-gray-dark: #b0b0b0;
}
@media (max-width: 480px) {
    .title {
        font-size: 1.2rem;
    }

    .input-field {
        padding: 6px 6px 6px 30px;
        font-size: 0.8rem;
    }

    .submit-button {
        padding: 6px;
        font-size: 0.8rem;
    }

    .form-toggle {
        font-size: 0.8rem;
    }
}
