
/* Default button styling */
.cs button {
    margin-bottom: 5px;
    font-size: 14px; /* Default font size */
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.cs button:hover {
    background-color: #45a049; /* Hover effect */
}

.cs button span {
    margin-right: 8px; /* Space between icon and text */
}

/* Mobile view styling */
@media (max-width: 600px) {
    .cs button {
        font-size: 12px !important; /* Smaller font size on mobile */
        width: 100%; /* Make buttons full-width on mobile */
        text-align: center; /* Align text to the left */
        padding: 10px; /* Adjust padding */
        margin-bottom: 10px; /* Add some bottom margin to prevent buttons from clashing */
    }

    .cs button span {
        margin-right: 10px; /* Increase space between icon and text */
    }
}




    .button-container p {
    text-align: center;
    margin: 0;
}

.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    /* Unique Class for the span */
    .back-to-gallery {
        cursor: pointer;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center; /* Center the content horizontally */
        padding: 8px 12px; /* Add some padding around the text */
     
        border-radius: 4px; /* Optional: add rounded corners */
        transition: color 0.3s ease, border-color 0.3s ease;
    }

    .back-to-gallery:hover {
        color: #f39c12; /* Change color on hover */
        border-color: #f39c12; /* Change border color on hover */
    }

    /* Unique Class for the icon */
    .back-icon {
        font-size: 18px;
        margin-right: 8px;
        transition: transform 0.3s ease;
    }

    .back-to-gallery:hover .back-icon {
        transform: translateX(-5px); /* Slight move to the left on hover */
    }
    
    

/* Password Modal */
.password-modal {
    display: none;
    position: fixed; /* Keeps original positioning */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.90);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 2s ease-in-out;
}

/* Glowing Outline Effect */
@keyframes outlineGlow {
    0% { box-shadow: 0 0 5px rgba(124, 0, 248, 0.8), 0 0 10px rgba(255, 140, 0, 0.8); }
    50% { box-shadow: 0 0 15px rgba(124, 0, 248, 1), 0 0 25px rgba(255, 140, 0, 1); }
    100% { box-shadow: 0 0 5px rgba(124, 0, 248, 0.8), 0 0 10px rgba(255, 140, 0, 0.8); }
}

/* Apply glow effect to the modal's border */
.modal-content {
    position: absolute; /* Keeps original modal positioning */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    background-color: #2a2a2a;
    border-radius: 10px;
    padding: 30px;
    
    animation: outlineGlow 1.5s infinite alternate ease-in-out;
}




/* Modal Form */
.modal-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    padding: 20px;
    border-radius: 10px;
}

/* Title */
.modal-form h2 {
    font-size: 26px;
    font-weight: bold;
    color: gold;
    animation: colorChange 2s infinite alternate;
    margin-bottom: 15px;
}

/* Title Animation */
@keyframes colorChange {
    0% { color: gold; }
    100% { color: white; }
}

/* Intro Text */
.modal-form .intro-text {
    font-size: 16px;
    margin-bottom: 20px;
    color: #ccc;
    line-height: 1.5;
}

/* Input Field */
.modal-form input {
    padding: 12px;
    font-size: 16px;
    width: 100%;
    border: 2px solid #7c00f8;
    border-radius: 8px;
    margin-bottom: 15px;
    color: white;
    background-color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.modal-form input::placeholder {
    color: #bbb;
}

.modal-form input:focus {
    border-color: #fff;
    outline: none;
    box-shadow: 0 0 10px rgba(124, 0, 248, 0.5);
}

/* Submit Button */
.modal-form button {
    padding: 14px 0;
    font-size: 16px;
    background: linear-gradient(45deg, #7c00f8, #ff8c00);
    color: white;
    width: 100%;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.modal-form button:hover {
    background: linear-gradient(45deg, #5f00d4, #ff6600);
    transform: scale(1.05);
}

/* Error Message */
.modal-form .error-message {
    margin-top: 15px;
    font-size: 14px;
    color: #ff4d4d;
    display: none;
}

/* Help Section */
.help-section {
    margin-top: 20px;
    font-size: 14px;
    color: #ddd;
    text-align: center;
    width: 100%;
}

/* Contact Links */
.contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

/* Social Media Buttons */
.viber-button {
    background: #7360F2; /* Viber Purple */
}

.viber-button:hover {
    background: #5a46c9;
}

.whatsapp-button {
    background: #25D366; /* WhatsApp Green */
}

.whatsapp-button:hover {
    background: #1da851;
}

.telegram-button {
    background: #0088cc; /* Telegram Blue */
}

.telegram-button:hover {
    background: #0077b5;
}

/* Help Buttons */
.help-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    font-size: 16px;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    width: 100%;
    font-weight: bold;
}

.help-button i {
    margin-right: 8px;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .modal-content {
        width: 90%;
        padding: 20px;
    }

    .modal-form {
        padding: 15px;
    }

    .modal-form h2 {
        font-size: 22px;
    }

    .modal-form .intro-text {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .modal-form input {
        font-size: 16px;
        padding: 12px;
    }

    .modal-form button {
        font-size: 15px;
        padding: 12px;
    }

    .help-section {
        font-size: 13px;
    }

    .contact-links {
        gap: 10px;
    }
}