/* 
* Simple Check Mark for Contact Form
* Author: Cascade
* Date: June 2025
*/

/* Container for the check mark animation */
.check-animation-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.check-animation-container.show {
    opacity: 1;
    visibility: visible;
}

/* Simple success message box with check mark */
.check-circle {
    width: 100px;
    height: 100px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    margin-bottom: 30px;
}

/* Simple check mark using FontAwesome */
.check-mark {
    color: #4CAF50;
    font-size: 60px;
    line-height: 1;
    position: relative;
    width: 30px;
    height: 60px;
    border-right: 8px solid #4CAF50;
    border-bottom: 8px solid #4CAF50;
    transform: rotate(45deg);
    margin: 0 auto;
}

/* Success message that appears below the check mark */
.check-message {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 18px;
    text-align: center;
    max-width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive styles */
@media (max-width: 768px) {
    .check-circle {
        width: 90px;
        height: 90px;
    }
    
    .check-mark {
        width: 25px;
        height: 50px;
        border-right: 6px solid #4CAF50;
        border-bottom: 6px solid #4CAF50;
    }
    
    .check-message {
        font-size: 16px;
        max-width: 280px;
        padding: 10px 15px;
    }
}

/* Small mobile styles */
@media (max-width: 480px) {
    .check-circle {
        width: 80px;
        height: 80px;
    }
    
    .check-mark {
        width: 20px;
        height: 40px;
        border-right: 5px solid #4CAF50;
        border-bottom: 5px solid #4CAF50;
    }
    
    .check-message {
        font-size: 14px;
        max-width: 240px;
        padding: 8px 12px;
    }
}
