/**
 * Public styles for GMB Content Generator Pro
 */

.gmb-card.gmb-pro {
    max-width: 480px;
    margin: 32px auto;
    padding: 32px 28px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    box-shadow: 0 4px 20px rgba(0, 115, 170, 0.1);
    border: 1px solid #e2e8f0;
}

.gmb-card.gmb-pro h2 {
    color: #0073aa;
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.gmb-card.gmb-pro h2:after {
    content: 'PRO';
    font-size: 0.5em;
    background: #46b450;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 10px;
    vertical-align: super;
}

.gmb-form-field {
    margin-bottom: 16px;
}

.gmb-form-field label {
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 4px;
    display: block;
    font-size: 14px;
}

.gmb-form-field input,
.gmb-form-field select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    font-size: 15px;
    background: #fff;
    transition: all 0.2s;
}

.gmb-form-field input:focus,
.gmb-form-field select:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.field-description {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
    font-style: italic;
}

.gmb-generate-btn {
    background: linear-gradient(135deg, #0073aa 0%, #005a87 100%);
    border: none;
    color: #fff;
    font-size: 18px;
    padding: 14px 0;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(0, 115, 170, 0.3);
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s;
}

.gmb-generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 115, 170, 0.4);
}

#gmb-progress-container {
    margin-top: 20px;
    width: 100%;
    display: none;
}

.gmb-progress-track {
    width: 100%;
    background: #e0e7ef;
    border-radius: 8px;
    height: 28px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

#gmb-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #0073aa 0%, #005a87 50%, #0073aa 100%);
    background-size: 200% 100%;
    animation: shimmer 2s linear infinite;
    width: 1%;
    border-radius: 8px;
    color: #fff;
    text-align: center;
    line-height: 28px;
    transition: width 0.4s cubic-bezier(0.4,0,0.2,1);
    font-size: 14px;
    font-weight: 500;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

#gmb-progress-message {
    padding: 10px 0 4px;
    text-align: center;
    color: #0073aa;
    font-weight: 500;
    font-size: 16px;
}

.gmb-progress-details {
    text-align: center;
    font-size: 12px;
    color: #64748b;
}

.gmb-output-container {
    margin-top: 25px;
}

.compliance-badges {
    margin-bottom: 20px;
    text-align: center;
}

.uniqueness-badge,
.compliance-badge {
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
    margin: 0 5px 10px;
    font-weight: 500;
    font-size: 14px;
}

.uniqueness-badge {
    background: linear-gradient(135deg, #46b450 0%, #3d9142 100%);
    box-shadow: 0 2px 10px rgba(70, 180, 80, 0.3);
}

.compliance-badge {
    background: linear-gradient(135deg, #0073aa 0%, #005a87 100%);
    box-shadow: 0 2px 10px rgba(0, 115, 170, 0.3);
}

.content-header {
    margin-bottom: 15px;
}

.content-header h2 {
    margin-bottom: 5px;
    color: #1a202c;
}

.content-title {
    display: block;
    font-size: 14px;
    color: #64748b;
    font-style: italic;
}

.gmb-content-textarea {
    width: 100%;
    font-size: 15px;
    line-height: 1.6;
    padding: 16px;
    margin-top: 10px;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    background: #ffffff;
    resize: vertical;
    min-height: 200px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.gmb-variations-wrapper {
    margin-top: 20px;
}

.gmb-variation {
    margin-bottom: 20px;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    transition: all 0.2s;
}

.gmb-variation:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.variation-header {
    margin-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
}

.gmb-variation h3 {
    margin: 0 0 4px 0;
    color: #0073aa;
    font-size: 18px;
}

.copy-all-btn {
    background: linear-gradient(135deg, #0073aa 0%, #005a87 100%);
    border: none;
    color: #fff;
    font-size: 16px;
    padding: 14px 28px;
    border-radius: 8px;
    margin: 0 0 20px 0;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 115, 170, 0.3);
}

.copy-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 115, 170, 0.4);
}

.copy-all-btn.copied {
    background: linear-gradient(135deg, #46b450 0%, #3d9142 100%);
}

.copy-single-btn {
    background: #64748b;
    border: none;
    color: #fff;
    font-size: 14px;
    padding: 8px 18px;
    border-radius: 6px;
    margin-top: 10px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.copy-single-btn:hover {
    background: #475569;
    transform: translateY(-1px);
}

.copy-single-btn.copied {
    background: #46b450;
}

@media (max-width: 600px) {
    .gmb-card.gmb-pro {
        padding: 20px 16px;
        margin: 16px auto;
    }
    
    .gmb-card.gmb-pro h2 {
        font-size: 1.8rem;
    }
    
    .gmb-generate-btn {
        font-size: 16px;
        padding: 12px 0;
    }
}