/* Custom styles for FUOSV Django site */

/* Messages styling */
.messages-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 400px;
}

.alert {
    margin-bottom: 10px;
    padding: 15px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-success {
    color: #3c763d;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-error,
.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* Form styling */
.form-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
}

/* Error message styling for contact form */
.error-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

.form-input.error {
    border-color: #a94442;
    box-shadow: 0 0 0 0.2rem rgba(169, 68, 66, 0.25);
}

/* Success and error message styling for contact form */
.success-message {
    background-color: #4caf50;
    color: white;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.w-form-fail {
    background-color: #f44336;
    color: white;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.w-form-done,
.w-form-fail {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 4px;
}

.w-form-done {
    background-color: #dff0d8;
    border: 1px solid #d6e9c6;
    color: #3c763d;
}

/* Large success message styling */
.large-success {
    background-color: #dff0d8;
    border: 2px solid #d6e9c6;
    color: #3c763d;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.large-success > div:first-child {
    font-size: 20px;
    margin-bottom: 15px;
}

.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.success-actions .button-2 {
    min-width: 150px;
}

.w-form-fail {
    background-color: #f2dede;
    border: 1px solid #ebccd1;
    color: #a94442;
}

/* Footer styling */
.footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
    margin-top: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-logo-img {
    height: 50px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-link {
    color: #fff;
    text-decoration: none;
}

.footer-link:hover {
    color: #007bff;
}

.footer-copy {
    text-align: center;
    margin-top: 20px;
    width: 100%;
}

/* Responsive design */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        margin: 20px 0;
    }

    .messages-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}
