/* --- Button Styles --- */
.standard-button,
button,
.minor-button {
    background-color: #3cb371;
    color: white;
    font-weight: 400; 
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    border-radius: 5px;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    text-align: center;
    font-family: inherit; /* Ensure buttons use the new font */
}

.standard-button:hover,
button:hover,
.minor-button:hover {
    background-color: #2e8b57;
}

.minor-button {
    padding: 5px 10px;
    font-size: 0.8em;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.red-outline-button {
    background-color: transparent;
    border: 2px solid red;
    color: red;
}

.red-outline-button:hover {
    background-color: rgba(255, 0, 0, 0.1);
}

.delete-btn {
    background-color: red;
    color: white;
}

.delete-btn:hover {
    background-color: darkred;
}

.standard-button.disabled {
    background-color: #ccc;
    cursor: not-allowed;
    color: #666;
}

.standard-button.disabled:hover {
    background-color: #ccc;
}

/* Styles for the pulsing button on the landing page */
@keyframes pulse {
    0% { background-color: #000000; }
    50% { background-color: #666666; }
    100% { background-color: #000000; }
}

.pulse-button {
    animation: pulse 2s infinite;
    color: #efe8dd; 
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    border-radius: 5px;
    font-weight: 600; /* BOLD */
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.search-submit-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: #666;
    box-shadow: none;
}
.search-submit-button:hover {
    color: #000;
    background: none;
}

/* --- Form Styles --- */
.form-container {
    max-width: 500px;
    margin: auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
}

.form-container.small {
    max-width: 400px;
}

.form-section label {
    display: block;
    margin-top: 10px;
}

.form-section input,
.form-section textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    box-sizing: border-box;
    font-family: inherit; /* Ensure form elements use the new font */
}

.form-section .submit-btn {
    margin-top: 15px;
}

.btn-container {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.btn-container .left-buttons {
    display: flex;
    gap: 10px;
}
.btn-container .right-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.submit-button-container {
    text-align: right;
    margin-top: 20px;
}

.error-message {
    color: red;
    font-size: 0.9em;
    display: block;
    margin-top: 4px;
}

/* --- Checkbox alignment --- */
.form-check-group {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.form-section .form-check-group label {
    display: inline-block;
    margin-top: 0;
}

.form-check-group .form-check-input {
    width: auto;
    margin: 0;
    padding: 0;
}

/* --- Auth Form Footer Layout --- */
.form-footer-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}
.form-footer-controls .form-check-group {
    margin-bottom: 0; /* Override default margin */
}
.form-footer-controls .submit-button-container {
    margin-top: 0; /* Override default margin */
}

/* --- Flash Messages --- */
.flash-messages .alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}
.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}
.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}
.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}