/* 1. The Glowing Border Wrapper */
.cac-wrapper-glow {
    position: relative;
    padding: 2px; /* Thickness of the gradient border */
    border-radius: 12px;
    background: linear-gradient(45deg, #ff00cc, #3333ff, #00ccff);
    background-size: 200% 200%;
    animation: gradientMove 5s ease infinite; /* Border color chalta rahega */
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 2. Main Container */
.cac-container {
    background: #121212; /* Deep Black */
    border-radius: 10px;
    overflow: hidden;
}

/* 3. Header */
.cac-header {
    background: #1f1f1f;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
}

.cac-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #fff;
    background: linear-gradient(90deg, #00ccff, #ff00cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; /* Text gradient */
}

/* 4. Button */
.cac-copy-btn {
    background: #333;
    color: #fff;
    border: none;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.cac-copy-btn:hover {
    background: #fff;
    color: #000;
    transform: scale(1.05);
}

/* 5. Content Area */
.cac-content {
    padding: 20px;
    color: #ddd;
    font-family: 'Courier New', Courier, monospace;
    font-size: 15px;
    line-height: 1.6;
    white-space: pre-wrap;
}

/* 6. TOAST NOTIFICATION (Popup) */
.cac-toast {
    visibility: hidden;
    min-width: 250px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 50px;
    padding: 12px 20px;
    position: fixed;
    z-index: 9999;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    font-size: 14px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    border: 1px solid #555;
    opacity: 0;
    transition: opacity 0.3s, bottom 0.3s;
}

.cac-toast.show {
    visibility: visible;
    opacity: 1;
    bottom: 50px; /* Thoda upar uthega */
}