/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    padding: 1rem;
    margin: 0;
}

.tv {
    color: #ff0000;
    font-weight: 700;
}

.slide {
    font-weight: 600;
    color: black;
}

.header {
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    max-width: 400px;
    margin: 2em auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

/* Toggle Buttons */
.toggle-buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.toggle-buttons .btn {
    flex: 1;
    margin: 0 0.25rem;
    border-radius: 5vw;
    font-size: 1rem;
    padding: 0.75rem;
    transition: all 0.3s ease;
    border: 2px solid #ccc;
    color: #000;
}

.toggle-buttons .btn.active {
    background-color: #000;
    color: #fff;
    border: 2px solid #000;
}

.toggle-buttons .btn:hover {
    color: #fff;
}

/* Form Styles */
.form-content {
    display: none;
}

#login-form {
    display: block;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input {
    width: 100%;
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.2);
}

button {
    width: 100%;
    color: #fff;
    padding: 0.75rem;
    border-radius: 5vw;
    border: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

button:hover {
    background: #da3445;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

button:active {
    transform: scale(0.98);
}

/* Error Message */
.error-message {
    color: #ff4d4d;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Spinner */
.spinner {
    display: none;
    position: fixed;
    z-index: 999;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    margin: -40px 0 0 -40px;
    border: 8px solid rgba(0, 0, 0, 0.1);
    border-top: 8px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Links */
a {
    color: #000;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

a:hover {
    color: #da3445;
}

/* Password Wrapper */
.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 40px;
}

.password-wrapper .toggle-password {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    font-size: 1.2rem;
    cursor: pointer;
    color: #ccc;
    transition: color 0.3s ease;
}

.password-wrapper .toggle-password:hover {
    color: #000;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    display: none;
}

.modal-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    max-width: 400px;
    width: 90%;
}

.modal-content p {
    color: #333;
    margin-bottom: 1rem;
}

.modal-content button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5vw;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.modal-content button:hover {
    background-color: #0056b3;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.btn-primary, .btn-danger {
    color: #fff;
    border-radius: 25px;
}

.btn-primary:not(:disabled):not(.disabled).active, 
.btn-primary:not(:disabled):not(.disabled):active {
    color: #fff;
    background-color: #000000;
    border-color: #a3a3a3;
}

.btn-secondary:not(:disabled):not(.disabled).active, 
.btn-secondary:not(:disabled):not(.disabled):active {
    color: #fff;
    background-color: #000000;
    border-color: #9f9f9f;
}

.btn-danger {
    color: #fff;
    background-color: #000000;
    border-color: #000000;
}

.btn-primary, .btn-secondary {
    color: #fff;
    background-color: #ffffff;
    border-color: #007bff;
}

.btn-primary:hover, .btn-secondary:hover {
    border-color: #007bff;
    background-color: #ffffff;
}

.btn.btn-primary2 {
    background: black;
    color: white;
    border-radius: 25px;
}

a {
    color: #000;
    text-decoration: none !important;
    background-color: transparent;
}

/* --- START: Signup Theme & Learn More Button Styles --- */

/* When signup is active, change the active toggle button to red */
body.signup-theme .toggle-buttons .btn-secondary.active {
    background-color: #ff0000;
    border-color: #ff0000;
    color: #fff;
}

/* When signup is active, change the main signup button to red */
body.signup-theme #signup-form .btn-danger {
    background-color: #ff0000;
    border-color: #ff0000;
}

/* Container for the new "Learn More" button */
.text-center.learn-more-container {
    margin-bottom: 1rem;
}

.learn-more-container .btn {
    width: auto;
    padding-left: 2rem;
    padding-right: 2rem;
    border-radius: 25px;
}
/* --- END: Signup Theme & Learn More Button Styles --- */
