
/* Container for the error messages */
#error_explanation {
    background-color: #f8d7da; 
    color: #721c24; 
    border: 1px solid #f5c6cb; 
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#error_explanation h2 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

#error_explanation ul {
    list-style-type: none; 
    padding: 0;
    margin: 0;
}

#error_explanation ul li {
    font-size: 14px;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

#error_explanation ul li::before {
    content: "•"; /* Bullet character */
    color: #dc3545; 
    position: absolute;
    left: 0;
}

.alert {
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.alert.notice {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

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

.alert.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}


/* Shared links */
.shared-links {
    margin-top: 1em;
}

.shared-links:hover {
    text-decoration: underline;
}


/* Edit admin form */


.x-form-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    min-height: 70vh; /* This is to add margin to the top of the form on the admin login page */
    height: 100%;
    padding: 20px;
    background-color: #f4f4f4;
}

.x-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    width: 100%;
    margin-bottom: 20px; 
}

.cancel-account-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    width: 100%;
    text-align: center;
}

.form-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

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

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.form-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    margin-top: 5px;
}

.disabled-input {
    background-color: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
  }

.password-hint {
    font-size: 12px;
    color: #999;
}

.confirmation-message {
    font-size: 14px;
    color: #ff9800;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    text-align: center;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
}

.btn-primary {
    background-color: #007bff;
}

.btn-danger {
    background-color: #dc3545;
}

.actions {
    display: flex;
    justify-content: space-between;
}