/* Trigger Button */
.cccg-trigger-btn {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.cccg-trigger-btn:hover {
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
    transform: translateY(-2px);
}

/* Modal Styles */
.cccg-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.cccg-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 40px;
    border: 1px solid #ddd;
    width: 90%;
    max-width: 500px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cccg-close {
    position: absolute;
    right: 25px;
    top: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.cccg-close:hover {
    color: #333;
}

/* Checkbox Styles */
.cccg-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.cccg-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #4a5568;
    cursor: pointer;
}

.cccg-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Existing Form Styles Updated */
.cccg-form-header h2 {
    margin: 0;
    font-size: 24px;
    color: #1a1f36;
    font-weight: 800;
}

.cccg-submit-container {
    margin-top: 30px;
}

#cccg-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

/* Thank You Page Styles */
.cccg-thank-you {
    text-align: center;
    padding: 60px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.cccg-code-display {
    background: #f3f4f6;
    padding: 20px;
    border-radius: 12px;
    font-size: 32px;
    font-weight: 800;
    color: #4f46e5;
    margin: 30px 0;
    border: 2px dashed #4f46e5;
    letter-spacing: 2px;
}