/* Body styling */
body {
    font-family: 'Arial', sans-serif;
    background-color: #0d0d0d;
    color: white;
    margin: 0;
    padding: 0;
    text-align: center; /* Ensures content is centered */
}

/* Lock icon styling */
#lock-icon {
    font-size: 0.8em;
    color: red;
    margin-left: 5px;
    vertical-align: middle;
}

/* Center page titles */
h1 {
    text-align: center;
    margin: 20px 0;
    font-size: 2em;
}

/* Center container and content */
.container {
    text-align: center;
    padding: 40px;
    margin: 50px auto;
    background-color: #1f1f1f;
    width: 90%;
    max-width: 900px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    .event-item {
        flex-basis: 90%; /* Take more space on smaller screens */
    }
}

@media (max-width: 400px) {
    .styled-dropdown, .event-item {
        width: 100%; /* Full width on very small devices */
    }
}

/* Signup Button */
.signup-btn {
    background-color: #ff4d4d;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
}

.signup-btn:hover {
    background-color: #d43d3d;
}

/* Verification email link */
.verify-email a {
    color: white;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

/* Global Link Styling */
a {
    font-weight: bold;
    text-decoration: underline;
    color: white; /* Default link color */
    transition: color 0.3s ease-in-out;
}

a:hover {
    color: #ff4d4d; /* Red theme color on hover */
}

/* Prevent visited links from changing color */
a:visited {
    color: white;
}


/* Message container for feedback */
#message-container {
    max-width: 400px;
    margin: 20px auto;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.1);
    width: fit-content;
    max-width: 80%;
}

#message {
    font-size: 14px;
    font-weight: bold;
}

/* Success and error messages */
.message-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Verification page container */
.verification-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-align: center;
}

.verification-container input {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.verification-container button {
    width: 100%;
    padding: 10px;
    margin-top: 15px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.1s ease;
}

.verification-container button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.verification-container button:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

#resend-verification {
    margin-top: 12px;
    padding: 8px 16px; /* Smaller padding */
    background: #28a745; /* Green button */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease, transform 0.1s ease;
    display: block;
    width: fit-content; /* ✅ Makes button shrink to content width */
    min-width: 150px; /* ✅ Ensures it’s not too small */
    text-align: center;
    margin-left: auto; /* ✅ Centers the button */
    margin-right: auto;
}

#resend-verification:hover {
    background: #218838;
    transform: scale(1.05);
}

#resend-verification:disabled {
    background: #cccccc;
    cursor: not-allowed;
}


/* Resend container */
.resend-container {
    margin-top: 20px;
    font-size: 14px;
    font-weight: bold;
}
