/* EQ4C Prompt Card Styles */
.eq4c-prompt-card {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin: 40px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background: #fff;
    max-width: 800px;
    border: 1px solid #e0e6ed;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.eq4c-prompt-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.eq4c-card-header {
    background: #356DF1;
    color: white;
    padding: 30px;
    position: relative;
}

.eq4c-card-header h3 {
    margin: 0;
    font-size: 1.8em;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.eq4c-card-header::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 30px;
    border-width: 15px 15px 0 15px;
    border-style: solid;
    border-color: #356DF1 transparent transparent transparent;
}

.eq4c-card-section,
.eq4c-card-prompt,
.eq4c-card-cta {
    padding: 30px;
    line-height: 1.7;
    color: #333;
    font-size: 17px;
    border-bottom: 1px solid #f0f4f9;
}

.eq4c-card-section:last-child,
.eq4c-card-cta {
    border-bottom: none;
}

.eq4c-card-section p,
.eq4c-card-cta p {
    margin: 0 0 20px 0;
    color: #4a5568;
}

.eq4c-card-section p:last-child,
.eq4c-card-cta p:last-child {
    margin-bottom: 0;
}

.eq4c-card-prompt {
    background: #f8faff;
    padding-top: 25px;
    padding-bottom: 25px;
    position: relative;
}

.eq4c-card-prompt pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    background: white;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #e0e8ff;
    font-family: 'Courier Prime', monospace;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 25px 0;
    color: #2c3e50;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.03);
    max-height: 300px;
    overflow-y: auto;
}

.eq4c-section-title {
    font-weight: 700;
    font-size: 1.3em;
    margin-bottom: 20px;
    color: #2c3e50;
    position: relative;
    padding-left: 15px;
}

.eq4c-section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    height: 20px;
    width: 5px;
    background: #356DF1;
    border-radius: 3px;
}

.eq4c-copy-btn {
    background: #356DF1;
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 6px 12px rgba(53, 109, 241, 0.25);
    position: relative;
    overflow: hidden;
}

.eq4c-copy-btn:hover {
    background: #2a5ad4;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(53, 109, 241, 0.35);
}

.eq4c-copy-btn:active {
    transform: translateY(1px);
}

.eq4c-copy-btn.copied {
    background: #10ac84;
    box-shadow: 0 6px 12px rgba(16, 172, 132, 0.25);
}

.eq4c-copy-btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.eq4c-copy-btn:active::after {
    width: 300px;
    height: 300px;
}

.eq4c-card-cta {
    background: linear-gradient(to right, #f9fbfd, #f0f7ff);
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
}

/* Responsive Design */
@media (max-width: 900px) {
    .eq4c-prompt-card {
        max-width: 90%;
        margin: 30px auto;
    }
}

@media (max-width: 767px) {
    .eq4c-prompt-card {
        border-radius: 10px;
        margin: 25px auto;
    }
    
    .eq4c-card-header,
    .eq4c-card-section,
    .eq4c-card-prompt,
    .eq4c-card-cta {
        padding: 25px;
    }
    
    .eq4c-card-header h3 {
        font-size: 1.5em;
    }
    
    .eq4c-card-prompt pre {
        padding: 20px;
        font-size: 15px;
    }
    
    .eq4c-copy-btn {
        max-width: 100%;
        padding: 15px;
    }
    
    .eq4c-card-header::after {
        left: 25px;
    }
}

@media (max-width: 480px) {
    .eq4c-card-header,
    .eq4c-card-section,
    .eq4c-card-prompt,
    .eq4c-card-cta {
        padding: 20px;
    }
    
    .eq4c-card-header h3 {
        font-size: 1.3em;
    }
    
    .eq4c-card-prompt pre {
        padding: 15px;
        font-size: 14px;
    }
    
    .eq4c-copy-btn {
        font-size: 15px;
    }
    
    .eq4c-section-title {
        font-size: 1.1em;
    }
}
