/* Admin styles for Sheets to Table Live Update plugin */
.wrap {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    margin: -20px -20px 0 -22px;
    padding: 40px;
    min-height: calc(100vh - 32px);
}
.wrap h1 {
    color: #1e293b;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.025em;
}
.wrap h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #0044B3, #8b5cf6);
    border-radius: 2px;
    margin-top: 12px;
}
.stlu-admin-content {
    display: flex;
    gap: 32px;
    margin-top: 32px;
}
.stlu-main-content {
    flex: 2;
}
.stlu-sidebar {
    flex: 1;
    max-width: 320px;
}

/* Pro upgrade banner styles removed - all features are now free */
.stlu-pro-upgrade-banner-removed {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    margin-bottom: 32px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}
.stlu-banner-content {
    display: flex;
    align-items: center;
    padding: 24px 32px;
    gap: 20px;
}
.stlu-banner-icon {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.stlu-banner-icon .dashicons {
    color: #fff;
    font-size: 28px;
    width: 28px;
    height: 28px;
}
.stlu-banner-text {
    flex: 1;
    color: #fff;
}
.stlu-banner-text h3 {
    color: white;
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 600;
}
.stlu-banner-text p {
    margin: 0;
    opacity: 0.9;
    font-size: 14px;
    line-height: 1.4;
}
/* Upgrade button styles removed - all features are now free */
.stlu-upgrade-btn-removed {
    background: #fff;
    color: #667eea;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
/* Upgrade button hover styles removed - all features are now free */
.stlu-upgrade-btn-hover-removed {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
/* Upgrade button icon styles removed - all features are now free */
.stlu-upgrade-btn-icon-removed {
    font-size: 16px;
    width: 16px;
    height: 16px;
}
.stlu-help-section {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}
.stlu-help-section:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.stlu-help-section h3 {
    margin-top: 0;
    margin-bottom: 16px;
    color: #1e293b;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.stlu-help-section h3::before {
    content: '💡';
    font-size: 16px;
}
.stlu-shortcode-generator {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}
.stlu-shortcode-generator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0044B3, #8b5cf6, #06b6d4);
}
.stlu-shortcode-generator h2 {
    margin-top: 0;
    margin-bottom: 8px;
    color: #1e293b;
    font-size: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}
.stlu-shortcode-generator h2::before {
    content: '⚡';
    font-size: 20px;
}
.stlu-shortcode-generator > p {
    margin-bottom: 24px;
    color: #64748b;
    font-size: 16px;
    line-height: 1.5;
}
.stlu-form-group {
    margin-bottom: 20px;
}
.stlu-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}
.stlu-form-group input[type="text"],
.stlu-form-group input[type="number"],
.stlu-form-group select {
    width: 100%;
    max-width: 500px;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
}
.stlu-form-group input[type="text"]:focus,
.stlu-form-group input[type="number"]:focus,
.stlu-form-group select:focus {
    outline: none;
    border-color: #0044B3;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.stlu-form-group input[type="color"] {
    width: 60px;
    height: 40px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.stlu-form-group input[type="color"]:focus {
    outline: none;
    border-color: #0044B3;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.stlu-form-group small {
    display: block;
    margin-top: 6px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.4;
}
.stlu-styling-section {
    background: #f8fafc;
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
}
.stlu-styling-section h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #1e293b;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.stlu-styling-section h3::before {
    content: '🎨';
    font-size: 16px;
}
.stlu-generated-shortcode {
    background: #f1f5f9;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #1e293b;
    word-break: break-all;
    margin-bottom: 12px;
    position: relative;
}
.stlu-copy-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0044B3;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}
.stlu-copy-button:hover {
    background: #2563eb;
    transform: translateY(-1px);
}
.stlu-copy-button.copied {
    background: #10b981;
}
.stlu-copy-button .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* WordPress Button Styles for Generate Shortcode */
.stlu-shortcode-generator .button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stlu-shortcode-generator .button-primary {
    background: linear-gradient(135deg, #0044B3 0%, #1d4ed8 100%);
    color: #fff;
    border: 2px solid transparent;
}

.stlu-shortcode-generator .button-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.stlu-shortcode-generator .button-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stlu-shortcode-generator .button-primary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

/* Enhanced Copy Button Styling */
.stlu-copy-button {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    background: #0044B3 !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 16px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.stlu-copy-button:hover {
    background: #2563eb !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3) !important;
}

.stlu-copy-button:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.stlu-copy-button:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3) !important;
}

.stlu-copy-button.copied {
    background: #10b981 !important;
    color: #fff !important;
}

.stlu-copy-button .dashicons {
    font-size: 16px !important;
    width: 16px !important;
    height: 16px !important;
    line-height: 1 !important;
}

/* Fix for generated shortcode display */
.stlu-generated-shortcode {
    background: #f1f5f9 !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 16px !important;
    font-family: 'Courier New', monospace !important;
    font-size: 14px !important;
    color: #1e293b !important;
    word-break: break-all !important;
    margin-bottom: 12px !important;
    position: relative !important;
    min-height: 40px !important;
    display: block !important;
}

/* Ensure proper spacing for button container */
#generated-shortcode-container {
    margin-top: 20px !important;
}

#generated-shortcode-container .stlu-form-group {
    margin-bottom: 0 !important;
}