/* GST Calculator India - Main Styles */

/* SEO and Accessibility Enhancements */
.gst-calculator-container {
    /* Ensure proper semantic structure for screen readers */
    role: "application";
    aria-label: "GST Calculator for Indian businesses";
}

/* Improved focus states for better accessibility */
.gst-calculator-container *:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .gst-calculator-container {
        border: 3px solid #000;
    }
    
    .form-group input,
    .form-group select {
        border: 2px solid #000;
    }
    
    .gst-calculate-btn {
        border: 2px solid #000;
    }
}

/* Print styles for better SEO */
@media print {
    .gst-calculator-container {
        box-shadow: none;
        border: 1px solid #000;
        max-width: 100%;
        margin: 0;
    }
    
    .gst-calculator-header {
        background: #fff !important;
        color: #000 !important;
        border-bottom: 2px solid #000;
    }
    
    .gst-calculate-btn {
        display: none;
    }
    
    .gst-prompt-btn,
    .gst-prompt-modal {
        display: none !important;
    }
}

/* Structured data styling for better SEO */
.gst-calculator-container[data-schema="WebApplication"] {
    position: relative;
}

/* Schema.org microdata styling */
[itemtype*="schema.org"] {
    position: relative;
}

/* SEO-friendly heading hierarchy */
.gst-calculator-header h3 {
    /* Ensure proper heading hierarchy for SEO */
    outline: none;
}

/* Improved semantic structure */
.gst-calculator-form {
    /* Ensure form is properly labeled for accessibility */
    role: "form";
    aria-label: "GST calculation form";
}

/* Better form field semantics */
.form-group input[type="number"] {
    /* Ensure number inputs are properly labeled */
    inputmode: "decimal";
}

.form-group select {
    /* Ensure select elements are properly accessible */
    cursor: pointer;
}

/* SEO-friendly button styling */
.gst-calculate-btn {
    /* Ensure button is properly accessible */
    role: "button";
    aria-label: "Calculate GST amount";
}

/* Improved loading states for SEO */
.gst-calculator-loading {
    /* Ensure loading state is properly announced */
    aria-live: "polite";
    aria-label: "Calculating GST amount";
}

/* Error state accessibility */
.gst-calculator-error {
    /* Ensure errors are properly announced */
    aria-live: "assertive";
    role: "alert";
}

/* Results section semantics */
.gst-calculator-results {
    /* Ensure results are properly structured */
    role: "region";
    aria-label: "GST calculation results";
}

/* Breakdown section semantics */
.breakdown-section {
    /* Ensure breakdown is properly structured */
    role: "region";
    aria-label: "CGST and SGST breakdown";
}

/* Modal accessibility improvements */
.gst-prompt-modal {
    /* Ensure modal is properly accessible */
    role: "dialog";
    aria-modal: "true";
    aria-label: "Original plugin requirements";
}

.gst-prompt-modal-content {
    /* Ensure modal content is properly structured */
    role: "document";
}

/* Skip link for accessibility */
.gst-skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #667eea;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
    transition: top 0.3s;
}

.gst-skip-link:focus {
    top: 6px;
}

/* SEO-friendly link styling */
.gst-calculator-container a {
    color: #667eea;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.gst-calculator-container a:hover {
    color: #5a6fd8;
    text-decoration-thickness: 2px;
}

.gst-calculator-container a:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Improved color contrast for better accessibility */
.gst-calculator-container {
    /* Ensure sufficient color contrast */
    color: #2c3e50;
}

.form-group label {
    /* Ensure label text has sufficient contrast */
    color: #2c3e50;
    font-weight: 600;
}

.result-label {
    /* Ensure result labels have sufficient contrast */
    color: #2c3e50;
    font-weight: 600;
}

.breakdown-label {
    /* Ensure breakdown labels have sufficient contrast */
    color: #2c3e50;
    font-weight: 600;
}

/* SEO-friendly text sizing */
.gst-calculator-container {
    /* Ensure text is readable and properly sized */
    font-size: 16px;
    line-height: 1.6;
}

.form-group input,
.form-group select {
    /* Ensure form inputs are properly sized */
    font-size: 16px;
    line-height: 1.5;
}

/* Improved touch targets for mobile SEO */
@media (max-width: 768px) {
    .gst-calculate-btn,
    .gst-prompt-btn,
    .gst-prompt-close {
        /* Ensure touch targets meet accessibility guidelines */
        min-height: 44px;
        min-width: 44px;
    }
    
    .form-group input,
    .form-group select {
        /* Ensure form inputs are properly sized for touch */
        min-height: 44px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* SEO-friendly spacing */
.gst-calculator-container {
    /* Ensure proper spacing for readability */
    margin: 2rem auto;
}

.form-group {
    /* Ensure proper spacing between form elements */
    margin-bottom: 1.5rem;
}

/* Improved semantic structure for search engines */
.gst-calculator-container {
    /* Add semantic structure for better SEO */
    display: block;
    position: relative;
}

/* Schema.org structured data styling */
[itemscope] {
    /* Ensure structured data is properly styled */
    display: block;
}

[itemprop] {
    /* Ensure microdata properties are properly styled */
    display: inline;
}

/* SEO-friendly image handling */
.gst-calculator-container img {
    /* Ensure images are properly optimized */
    max-width: 100%;
    height: auto;
    alt: "";
}

/* Improved keyboard navigation */
.gst-calculator-container *:focus-visible {
    /* Ensure focus is visible for keyboard users */
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* SEO-friendly animation preferences */
@media (prefers-reduced-motion: reduce) {
    .gst-calculator-container *,
    .gst-prompt-modal * {
        /* Respect user's motion preferences */
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Reset and Base Styles */
.gst-calculator-container * {
    box-sizing: border-box;
}

.gst-calculator-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e1e5e9;
}

/* Header Styles */
.gst-calculator-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px 30px;
    text-align: center;
}

.gst-calculator-header h3 {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.gst-calculator-header h3 i {
    font-size: 20px;
    color: #ffd700;
}

.gst-calculator-subtitle {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
    font-weight: 300;
}

/* Form Styles */
.gst-calculator-form {
    padding: 30px;
    background: #f8f9fa;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: #667eea;
    width: 16px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input::placeholder {
    color: #999;
}

/* Button Styles */
.gst-calculate-btn {
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gst-calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.gst-calculate-btn:active {
    transform: translateY(0);
}

.gst-calculate-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Results Styles */
.gst-calculator-results {
    padding: 30px;
    background: white;
    border-top: 1px solid #e1e5e9;
}

.results-header {
    margin-bottom: 25px;
    text-align: center;
}

.results-header h4 {
    margin: 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.results-header h4 i {
    color: #667eea;
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.result-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
    transition: all 0.3s ease;
}

.result-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.result-item.highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

.result-item.highlight .result-label {
    color: rgba(255, 255, 255, 0.9);
}

.result-label {
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-value {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.result-item.highlight .result-value {
    color: white;
}

/* Breakdown Section */
.breakdown-section {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e1e5e9;
}

.breakdown-section h5 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breakdown-section h5 i {
    color: #667eea;
}

.breakdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.breakdown-item {
    background: #f0f4ff;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #667eea;
}

.breakdown-label {
    font-size: 12px;
    font-weight: 500;
    color: #666;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.breakdown-value {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

/* Results Footer */
.results-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e1e5e9;
    text-align: center;
}

.results-footer small {
    color: #666;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.results-footer small i {
    color: #667eea;
}

/* Loading Styles */
.gst-calculator-loading {
    padding: 30px;
    text-align: center;
    background: white;
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: #667eea;
}

.loading-spinner i {
    font-size: 24px;
    animation: spin 1s linear infinite;
}

.loading-spinner span {
    font-size: 14px;
    font-weight: 500;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error Styles */
.gst-calculator-error {
    padding: 20px;
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 8px;
    margin: 20px;
}

.error-message {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #c53030;
    font-size: 14px;
}

.error-message i {
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gst-calculator-container {
        margin: 10px;
        border-radius: 8px;
        max-width: 100%;
    }
    
    .gst-calculator-header {
        padding: 20px;
    }
    
    .gst-calculator-header h3 {
        font-size: 20px;
        flex-direction: column;
        gap: 8px;
    }
    
    .gst-calculator-header h3 i {
        font-size: 18px;
    }
    
    .gst-calculator-subtitle {
        font-size: 13px;
    }
    
    .gst-calculator-form,
    .gst-calculator-results {
        padding: 20px;
    }
    
    .form-group {
        margin-bottom: 18px;
    }
    
    .form-group label {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .form-group input,
    .form-group select {
        font-size: 14px;
        padding: 10px 12px;
        border-radius: 6px;
    }
    
    .gst-calculate-btn {
        font-size: 14px;
        padding: 12px 15px;
        border-radius: 6px;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .breakdown-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .result-item {
        padding: 15px;
    }
    
    .result-value {
        font-size: 18px;
    }
    
    .breakdown-value {
        font-size: 14px;
    }
    
    .results-header h4 {
        font-size: 16px;
    }
    
    .breakdown-section h5 {
        font-size: 14px;
    }
    
    .results-footer small {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .gst-calculator-container {
        margin: 5px;
        border-radius: 6px;
    }
    
    .gst-calculator-header {
        padding: 15px;
    }
    
    .gst-calculator-header h3 {
        font-size: 18px;
        gap: 5px;
    }
    
    .gst-calculator-header h3 i {
        font-size: 16px;
    }
    
    .gst-calculator-subtitle {
        font-size: 12px;
    }
    
    .gst-calculator-form,
    .gst-calculator-results {
        padding: 15px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group label {
        font-size: 12px;
        margin-bottom: 5px;
    }
    
    .form-group input,
    .form-group select {
        font-size: 13px;
        padding: 8px 10px;
        border-radius: 5px;
    }
    
    .gst-calculate-btn {
        font-size: 13px;
        padding: 10px 12px;
        border-radius: 5px;
    }
    
    .result-item {
        padding: 12px;
    }
    
    .result-label {
        font-size: 11px;
    }
    
    .result-value {
        font-size: 16px;
    }
    
    .breakdown-item {
        padding: 10px;
    }
    
    .breakdown-label {
        font-size: 11px;
    }
    
    .breakdown-value {
        font-size: 13px;
    }
    
    .results-header h4 {
        font-size: 15px;
    }
    
    .breakdown-section h5 {
        font-size: 13px;
    }
    
    .results-footer small {
        font-size: 10px;
    }
    
    .loading-spinner {
        gap: 10px;
    }
    
    .loading-spinner i {
        font-size: 20px;
    }
    
    .loading-spinner span {
        font-size: 12px;
    }
    
    .error-message {
        font-size: 12px;
        gap: 8px;
    }
    
    .error-message i {
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .gst-calculator-container {
        margin: 2px;
        border-radius: 4px;
    }
    
    .gst-calculator-header {
        padding: 12px;
    }
    
    .gst-calculator-header h3 {
        font-size: 16px;
    }
    
    .gst-calculator-header h3 i {
        font-size: 14px;
    }
    
    .gst-calculator-subtitle {
        font-size: 11px;
    }
    
    .gst-calculator-form,
    .gst-calculator-results {
        padding: 12px;
    }
    
    .form-group {
        margin-bottom: 12px;
    }
    
    .form-group label {
        font-size: 11px;
    }
    
    .form-group input,
    .form-group select {
        font-size: 12px;
        padding: 6px 8px;
    }
    
    .gst-calculate-btn {
        font-size: 12px;
        padding: 8px 10px;
    }
    
    .result-item {
        padding: 10px;
    }
    
    .result-label {
        font-size: 10px;
    }
    
    .result-value {
        font-size: 14px;
    }
    
    .breakdown-item {
        padding: 8px;
    }
    
    .breakdown-label {
        font-size: 10px;
    }
    
    .breakdown-value {
        font-size: 12px;
    }
}

/* Tablet Landscape */
@media (min-width: 769px) and (max-width: 1024px) {
    .gst-calculator-container {
        max-width: 700px;
        margin: 20px auto;
    }
    
    .gst-calculator-header {
        padding: 30px;
    }
    
    .gst-calculator-header h3 {
        font-size: 22px;
    }
    
    .gst-calculator-form,
    .gst-calculator-results {
        padding: 25px;
    }
    
    .results-grid {
        gap: 18px;
    }
    
    .breakdown-grid {
        gap: 12px;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .gst-calculator-container {
        max-width: 700px;
    }
    
    .gst-calculator-header {
        padding: 30px;
    }
    
    .gst-calculator-header h3 {
        font-size: 26px;
    }
    
    .gst-calculator-form,
    .gst-calculator-results {
        padding: 35px;
    }
    
    .form-group input,
    .form-group select {
        font-size: 16px;
        padding: 14px 18px;
    }
    
    .gst-calculate-btn {
        font-size: 16px;
        padding: 16px 24px;
    }
    
    .result-value {
        font-size: 22px;
    }
    
    .breakdown-value {
        font-size: 18px;
    }
}

/* Ultra-wide screens */
@media (min-width: 1600px) {
    .gst-calculator-container {
        max-width: 800px;
    }
    
    .gst-calculator-header h3 {
        font-size: 28px;
    }
    
    .gst-calculator-form,
    .gst-calculator-results {
        padding: 40px;
    }
}

/* Landscape orientation for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .gst-calculator-container {
        margin: 5px;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .gst-calculator-header {
        padding: 15px 20px;
    }
    
    .gst-calculator-header h3 {
        font-size: 18px;
    }
    
    .gst-calculator-form,
    .gst-calculator-results {
        padding: 15px 20px;
    }
    
    .results-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .breakdown-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .gst-calculator-container {
        border-width: 0.5px;
    }
    
    .form-group input,
    .form-group select {
        border-width: 1px;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .gst-calculator-container *,
    .gst-prompt-modal * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .gst-calculate-btn:hover {
        transform: none;
    }
    
    .result-item:hover {
        transform: none;
    }
    
    .gst-prompt-btn:hover {
        transform: none;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .gst-calculator-container {
        background: #1a1a1a;
        border-color: #333;
        color: #fff;
    }
    
    .gst-calculator-form {
        background: #2a2a2a;
    }
    
    .form-group input,
    .form-group select {
        background: #333;
        border-color: #555;
        color: #fff;
    }
    
    .form-group input:focus,
    .form-group select:focus {
        border-color: #667eea;
        background: #444;
    }
    
    .result-item {
        background: #2a2a2a;
        border-color: #555;
    }
    
    .result-label {
        color: #ccc;
    }
    
    .result-value {
        color: #fff;
    }
    
    .breakdown-item {
        background: #333;
        border-left-color: #667eea;
    }
    
    .breakdown-label {
        color: #ccc;
    }
    
    .breakdown-value {
        color: #fff;
    }
    
    .results-footer small {
        color: #ccc;
    }
}

/* Animation for results appearance */
.gst-calculator-results {
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Focus states for accessibility */
.gst-calculate-btn:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.form-group input:focus,
.form-group select:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .gst-calculator-container {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .gst-calculate-btn {
        display: none;
    }
}

/* ========================================
   PROMPT BUTTON AND MODAL STYLES
   ======================================== */

/* Prompt Button Container */
.gst-prompt-button-container {
    text-align: center;
    margin: 20px 0;
}

/* Prompt Button */
.gst-prompt-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.gst-prompt-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.gst-prompt-btn:focus {
    outline: 2px solid #ff6b6b;
    outline-offset: 2px;
}

.gst-prompt-btn i {
    font-size: 16px;
    color: #ffd700;
}

/* Modal Overlay */
.gst-prompt-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

/* Modal Content */
.gst-prompt-modal-content {
    position: relative;
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease-out;
}

/* Modal Header */
.gst-prompt-modal-header {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gst-prompt-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gst-prompt-modal-header h3 i {
    color: #ffd700;
}

/* Close Button */
.gst-prompt-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gst-prompt-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.gst-prompt-close:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

/* Modal Body */
.gst-prompt-modal-body {
    padding: 30px;
    max-height: 60vh;
    overflow-y: auto;
    background: #f8f9fa;
}

/* Prompt Content */
.gst-prompt-content {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

.gst-prompt-content h3 {
    color: #ff6b6b;
    margin-bottom: 20px;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gst-prompt-content h3 i {
    color: #ffd700;
}

.gst-prompt-content h4 {
    color: #333;
    margin: 25px 0 15px 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gst-prompt-content h4 i {
    color: #ff6b6b;
    width: 20px;
}

.gst-prompt-content p {
    margin-bottom: 15px;
    font-size: 14px;
}

.gst-prompt-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.gst-prompt-content li {
    margin-bottom: 8px;
    font-size: 14px;
}

.gst-prompt-content code {
    background: #e9ecef;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: #e83e8c;
}

.gst-prompt-content strong {
    color: #333;
    font-weight: 600;
}

/* Prompt Sections */
.prompt-section {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #ff6b6b;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.prompt-section:last-child {
    margin-bottom: 0;
}

/* Loading State */
.gst-prompt-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: #ff6b6b;
    gap: 15px;
}

.gst-prompt-loading i {
    font-size: 24px;
    animation: spin 1s linear infinite;
}

.gst-prompt-loading span {
    font-size: 14px;
    font-weight: 500;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive Modal */
@media (max-width: 768px) {
    .gst-prompt-modal-content {
        width: 95%;
        margin: 10% auto;
        max-height: 85vh;
    }
    
    .gst-prompt-modal-header {
        padding: 15px 20px;
    }
    
    .gst-prompt-modal-header h3 {
        font-size: 18px;
    }
    
    .gst-prompt-modal-body {
        padding: 20px;
        max-height: 70vh;
    }
    
    .gst-prompt-content h3 {
        font-size: 20px;
    }
    
    .gst-prompt-content h4 {
        font-size: 16px;
    }
    
    .gst-prompt-content p,
    .gst-prompt-content li {
        font-size: 13px;
    }
    
    .prompt-section {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .gst-prompt-btn {
        font-size: 13px;
        padding: 10px 18px;
    }
}

@media (max-width: 480px) {
    .gst-prompt-modal-content {
        width: 98%;
        margin: 5% auto;
        max-height: 90vh;
    }
    
    .gst-prompt-modal-header {
        padding: 12px 15px;
    }
    
    .gst-prompt-modal-header h3 {
        font-size: 16px;
    }
    
    .gst-prompt-modal-body {
        padding: 15px;
        max-height: 75vh;
    }
    
    .gst-prompt-content h3 {
        font-size: 18px;
    }
    
    .gst-prompt-content h4 {
        font-size: 15px;
    }
    
    .gst-prompt-content p,
    .gst-prompt-content li {
        font-size: 12px;
    }
    
    .prompt-section {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    .gst-prompt-btn {
        font-size: 12px;
        padding: 8px 15px;
    }
    
    .gst-prompt-close {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
}

@media (max-width: 360px) {
    .gst-prompt-modal-content {
        width: 99%;
        margin: 2% auto;
        max-height: 95vh;
    }
    
    .gst-prompt-modal-header {
        padding: 10px 12px;
    }
    
    .gst-prompt-modal-header h3 {
        font-size: 14px;
    }
    
    .gst-prompt-modal-body {
        padding: 12px;
        max-height: 80vh;
    }
    
    .gst-prompt-content h3 {
        font-size: 16px;
    }
    
    .gst-prompt-content h4 {
        font-size: 14px;
    }
    
    .gst-prompt-content p,
    .gst-prompt-content li {
        font-size: 11px;
    }
    
    .prompt-section {
        padding: 10px;
        margin-bottom: 10px;
    }
    
    .gst-prompt-btn {
        font-size: 11px;
        padding: 6px 12px;
    }
    
    .gst-prompt-close {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }
}

/* Tablet Landscape */
@media (min-width: 769px) and (max-width: 1024px) {
    .gst-prompt-modal-content {
        width: 85%;
        max-width: 750px;
        margin: 8% auto;
    }
    
    .gst-prompt-modal-header {
        padding: 25px 30px;
    }
    
    .gst-prompt-modal-header h3 {
        font-size: 22px;
    }
    
    .gst-prompt-modal-body {
        padding: 25px;
    }
    
    .gst-prompt-content h3 {
        font-size: 24px;
    }
    
    .gst-prompt-content h4 {
        font-size: 18px;
    }
    
    .gst-prompt-content p,
    .gst-prompt-content li {
        font-size: 14px;
    }
    
    .prompt-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .gst-prompt-btn {
        font-size: 15px;
        padding: 12px 24px;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .gst-prompt-modal-content {
        width: 80%;
        max-width: 900px;
        margin: 5% auto;
    }
    
    .gst-prompt-modal-header {
        padding: 30px;
    }
    
    .gst-prompt-modal-header h3 {
        font-size: 24px;
    }
    
    .gst-prompt-modal-body {
        padding: 35px;
    }
    
    .gst-prompt-content h3 {
        font-size: 26px;
    }
    
    .gst-prompt-content h4 {
        font-size: 20px;
    }
    
    .gst-prompt-content p,
    .gst-prompt-content li {
        font-size: 16px;
    }
    
    .prompt-section {
        padding: 25px;
        margin-bottom: 25px;
    }
    
    .gst-prompt-btn {
        font-size: 16px;
        padding: 14px 28px;
    }
}

/* Landscape orientation for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .gst-prompt-modal-content {
        width: 90%;
        margin: 5% auto;
        max-height: 85vh;
    }
    
    .gst-prompt-modal-header {
        padding: 12px 20px;
    }
    
    .gst-prompt-modal-header h3 {
        font-size: 16px;
    }
    
    .gst-prompt-modal-body {
        padding: 15px 20px;
        max-height: 70vh;
    }
    
    .gst-prompt-content h3 {
        font-size: 18px;
    }
    
    .gst-prompt-content h4 {
        font-size: 14px;
    }
    
    .gst-prompt-content p,
    .gst-prompt-content li {
        font-size: 12px;
    }
    
    .prompt-section {
        padding: 12px 15px;
        margin-bottom: 12px;
    }
}

/* Dark mode support for modal */
@media (prefers-color-scheme: dark) {
    .gst-prompt-modal-content {
        background: #1a1a1a;
        color: #fff;
    }
    
    .gst-prompt-modal-header {
        background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    }
    
    .gst-prompt-modal-body {
        background: #2a2a2a;
    }
    
    .gst-prompt-content h3,
    .gst-prompt-content h4 {
        color: #fff;
    }
    
    .gst-prompt-content p,
    .gst-prompt-content li {
        color: #ccc;
    }
    
    .gst-prompt-content code {
        background: #444;
        color: #ff6b6b;
    }
    
    .gst-prompt-content strong {
        color: #fff;
    }
    
    .prompt-section {
        background: #333;
        border-left-color: #ff6b6b;
    }
    
    .gst-prompt-loading {
        color: #ff6b6b;
    }
    
    .gst-prompt-error {
        color: #ff6b6b;
    }
} 