/* ==========================================================================
   WEBINAR MANAGER CSS
   ========================================================================== */

:root {
    --webinar-primary: #6B46C1;
    --webinar-secondary: #F59E0B;
    --webinar-success: #10B981;
    --webinar-warning: #F59E0B;
    --webinar-error: #EF4444;
    --webinar-text: #1F2937;
    --webinar-text-light: #6B7280;
    --webinar-bg: #F9FAFB;
    --webinar-white: #FFFFFF;
    --webinar-border: #E5E7EB;
    --webinar-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --webinar-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --webinar-radius: 8px;
    --webinar-radius-lg: 12px;
}

/* ==========================================================================
   FRONTEND STYLES
   ========================================================================== */

.webinar-registration-widget {
    background: var(--webinar-white);
    border: 1px solid var(--webinar-border);
    border-radius: var(--webinar-radius-lg);
    padding: 30px;
    margin: 20px 0;
    box-shadow: var(--webinar-shadow);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.webinar-widget-title {
    text-align: center;
    color: var(--webinar-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    margin-top: 0;
}

.webinar-registration-form {
    margin-bottom: 24px;
}

.webinar-form-group {
    margin-bottom: 16px;
}

.webinar-form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--webinar-border);
    border-radius: var(--webinar-radius);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.webinar-form-group input:focus {
    outline: none;
    border-color: var(--webinar-primary);
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.1);
}

.webinar-form-group input::placeholder {
    color: var(--webinar-text-light);
}

.webinar-buttons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 24px 0;
}

.webinar-btn {
    padding: 16px 24px;
    border: none;
    border-radius: var(--webinar-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.webinar-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--webinar-shadow-lg);
}

.webinar-btn:active {
    transform: translateY(0);
}

.webinar-btn-primary {
    background: var(--webinar-success);
    color: var(--webinar-white);
}

.webinar-btn-primary:hover {
    background: #059669;
}

.webinar-btn-secondary {
    background: var(--webinar-warning);
    color: var(--webinar-white);
}

.webinar-btn-secondary:hover {
    background: #D97706;
}

.webinar-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.webinar-stat-item {
    background: var(--webinar-bg);
    padding: 20px;
    border-radius: var(--webinar-radius);
    text-align: center;
    border: 1px solid var(--webinar-border);
}

.webinar-stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--webinar-primary);
}

.webinar-stat-label {
    font-size: 0.875rem;
    color: var(--webinar-text-light);
    font-weight: 500;
}

.webinar-loading {
    text-align: center;
    padding: 20px;
    color: var(--webinar-text-light);
    font-style: italic;
}

.webinar-error {
    background: #FEF2F2;
    color: var(--webinar-error);
    padding: 12px 16px;
    border-radius: var(--webinar-radius);
    border: 1px solid #FECACA;
    margin: 16px 0;
}

.webinar-success {
    background: #F0FDF4;
    color: var(--webinar-success);
    padding: 12px 16px;
    border-radius: var(--webinar-radius);
    border: 1px solid #BBF7D0;
    margin: 16px 0;
}

/* ==========================================================================
   ADMIN STYLES
   ========================================================================== */

.webinar-admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.webinar-stat-card {
    background: var(--webinar-white);
    border: 1px solid var(--webinar-border);
    border-radius: var(--webinar-radius);
    padding: 24px;
    text-align: center;
    box-shadow: var(--webinar-shadow);
}

.webinar-stat-card-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--webinar-primary);
}

.webinar-stat-card-label {
    color: var(--webinar-text-light);
    font-size: 0.875rem;
    font-weight: 500;
}

.webinar-form-section {
    background: var(--webinar-bg);
    border: 1px solid var(--webinar-border);
    border-radius: var(--webinar-radius);
    padding: 24px;
    margin: 20px 0;
}

.webinar-button-primary {
    background: var(--webinar-primary);
    color: var(--webinar-white);
    border: none;
    padding: 12px 24px;
    border-radius: var(--webinar-radius);
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.webinar-button-primary:hover {
    background: #553C9A;
}

.webinar-button-secondary {
    background: var(--webinar-white);
    color: var(--webinar-primary);
    border: 2px solid var(--webinar-primary);
    padding: 10px 22px;
    border-radius: var(--webinar-radius);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.webinar-button-secondary:hover {
    background: var(--webinar-primary);
    color: var(--webinar-white);
}

.status-partecipa {
    background: #DCFCE7;
    color: #16A34A;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.status-interessato {
    background: #FEF3C7;
    color: #D97706;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.webinar-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--webinar-white);
    border-radius: var(--webinar-radius);
    overflow: hidden;
    box-shadow: var(--webinar-shadow);
}

.webinar-table th,
.webinar-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--webinar-border);
}

.webinar-table th {
    background: var(--webinar-bg);
    font-weight: 600;
    color: var(--webinar-text);
}

.webinar-table tr:hover {
    background: var(--webinar-bg);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 768px) {
    .webinar-registration-widget {
        padding: 20px;
        margin: 10px;
    }
    
    .webinar-buttons-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .webinar-stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .webinar-widget-title {
        font-size: 1.25rem;
    }
    
    .webinar-btn {
        padding: 14px 20px;
        font-size: 0.9rem;
    }
    
    .webinar-admin-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .webinar-table {
        font-size: 0.875rem;
    }
    
    .webinar-table th,
    .webinar-table td {
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .webinar-registration-widget {
        padding: 16px;
    }
    
    .webinar-widget-title {
        font-size: 1.125rem;
    }
    
    .webinar-btn {
        padding: 12px 16px;
        font-size: 0.875rem;
    }
    
    .webinar-stat-number {
        font-size: 1.5rem;
    }
    
    .webinar-stat-label {
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

@keyframes webinar-fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes webinar-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.webinar-registration-widget {
    animation: webinar-fadeIn 0.5s ease-out;
}

.webinar-loading span {
    animation: webinar-pulse 1.5s ease-in-out infinite;
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.webinar-text-center {
    text-align: center;
}

.webinar-text-left {
    text-align: left;
}

.webinar-text-right {
    text-align: right;
}

.webinar-mb-0 { margin-bottom: 0; }
.webinar-mb-1 { margin-bottom: 8px; }
.webinar-mb-2 { margin-bottom: 16px; }
.webinar-mb-3 { margin-bottom: 24px; }
.webinar-mb-4 { margin-bottom: 32px; }

.webinar-mt-0 { margin-top: 0; }
.webinar-mt-1 { margin-top: 8px; }
.webinar-mt-2 { margin-top: 16px; }
.webinar-mt-3 { margin-top: 24px; }
.webinar-mt-4 { margin-top: 32px; }

.webinar-p-0 { padding: 0; }
.webinar-p-1 { padding: 8px; }
.webinar-p-2 { padding: 16px; }
.webinar-p-3 { padding: 24px; }
.webinar-p-4 { padding: 32px; }

.webinar-hidden { display: none; }
.webinar-visible { display: block; }

.webinar-flex { display: flex; }
.webinar-grid { display: grid; }
.webinar-inline-block { display: inline-block; }

.webinar-w-full { width: 100%; }
.webinar-h-full { height: 100%; }

.webinar-rounded { border-radius: var(--webinar-radius); }
.webinar-rounded-lg { border-radius: var(--webinar-radius-lg); }

.webinar-shadow { box-shadow: var(--webinar-shadow); }
.webinar-shadow-lg { box-shadow: var(--webinar-shadow-lg); }

/* ==========================================================================
   FIELD ERROR STATES
   ========================================================================== */

.webinar-field-error {
    border-color: var(--webinar-error) !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.webinar-field-error::placeholder {
    color: var(--webinar-error);
}

/* ==========================================================================
   MESSAGE STYLES
   ========================================================================== */

.webinar-message {
    padding: 12px 16px;
    border-radius: var(--webinar-radius);
    margin: 16px 0;
    font-weight: 500;
    border: 1px solid;
    animation: webinar-fadeIn 0.3s ease-out;
}

.webinar-message.webinar-success {
    background: #F0FDF4;
    color: var(--webinar-success);
    border-color: #BBF7D0;
}

.webinar-message.webinar-error {
    background: #FEF2F2;
    color: var(--webinar-error);
    border-color: #FECACA;
}

.webinar-message.webinar-warning {
    background: #FFFBEB;
    color: var(--webinar-warning);
    border-color: #FED7AA;
}

/* ==========================================================================
   LOADING STATES
   ========================================================================== */

.webinar-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.webinar-btn:disabled:hover {
    transform: none !important;
    box-shadow: var(--webinar-shadow);
}

/* ==========================================================================
   ADMIN SPECIFIC STYLES
   ========================================================================== */

.webinar-admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--webinar-border);
}

.webinar-admin-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.webinar-filter-section {
    background: var(--webinar-white);
    padding: 20px;
    border-radius: var(--webinar-radius);
    margin-bottom: 20px;
    border: 1px solid var(--webinar-border);
}

.webinar-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    align-items: end;
}

.webinar-countdown-timer {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 24px 0;
}

.webinar-countdown-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 16px;
    border-radius: var(--webinar-radius);
    text-align: center;
    backdrop-filter: blur(10px);
    min-width: 80px;
}

.webinar-countdown-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--webinar-secondary);
}

.webinar-countdown-label {
    font-size: 0.75rem;
    opacity: 0.9;
    margin-top: 4px;
}

/* ==========================================================================
   MODAL STYLES (per future implementazioni)
   ========================================================================== */

.webinar-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.webinar-modal {
    background: var(--webinar-white);
    border-radius: var(--webinar-radius-lg);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--webinar-shadow-lg);
    animation: webinar-fadeIn 0.3s ease-out;
}

.webinar-modal-header {
    padding: 24px 24px 0;
    border-bottom: 1px solid var(--webinar-border);
    margin-bottom: 24px;
}

.webinar-modal-body {
    padding: 0 24px 24px;
}

.webinar-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--webinar-text-light);
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
    .webinar-registration-widget,
    .webinar-admin-grid,
    .webinar-filter-section {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .webinar-btn {
        border: 1px solid #ccc;
    }
    
    .webinar-loading,
    .webinar-message {
        display: none;
    }
}

/* ==========================================================================
   HIGH CONTRAST MODE
   ========================================================================== */

@media (prefers-contrast: high) {
    :root {
        --webinar-border: #000000;
        --webinar-text-light: #333333;
    }
    
    .webinar-btn {
        border: 2px solid currentColor;
    }
    
    .webinar-form-group input {
        border-width: 2px;
    }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .webinar-registration-widget,
    .webinar-btn,
    .webinar-loading span {
        animation: none;
        transition: none;
    }
    
    .webinar-btn:hover {
        transform: none;
    }
}

/* ==========================================================================
   DARK MODE SUPPORT (per future implementazioni)
   ========================================================================== */

@media (prefers-color-scheme: dark) {
    :root {
        --webinar-bg: #1F2937;
        --webinar-white: #374151;
        --webinar-text: #F9FAFB;
        --webinar-text-light: #D1D5DB;
        --webinar-border: #4B5563;
    }
}

/* ==========================================================================
   ADMIN REGISTRATIONS SPECIFIC STYLES
   ========================================================================== */

.webinar-table-container {
    overflow-x: auto;
    margin: 15px 0;
    border-radius: var(--webinar-radius);
    box-shadow: var(--webinar-shadow);
}

.webinar-filter-section {
    background: var(--webinar-white);
    padding: 20px;
    border-radius: var(--webinar-radius);
    margin-bottom: 20px;
    border: 1px solid var(--webinar-border);
    box-shadow: var(--webinar-shadow);
}

.webinar-filter-section h2 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--webinar-primary);
}

.webinar-filter-section form {
    display: flex;
    gap: 15px;
    align-items: end;
    flex-wrap: wrap;
}

.webinar-filter-section select {
    min-width: 250px;
    padding: 8px 12px;
    border: 1px solid var(--webinar-border);
    border-radius: var(--webinar-radius);
}

/* Stili per la tabella registrazioni */
.webinar-table-container table {
    margin: 0;
    border-radius: var(--webinar-radius);
    overflow: hidden;
}

.webinar-table-container .wp-list-table th {
    background: var(--webinar-bg);
    font-weight: 600;
    color: var(--webinar-text);
    padding: 12px 8px;
}

.webinar-table-container .wp-list-table td {
    padding: 12px 8px;
    vertical-align: top;
}

.webinar-table-container .wp-list-table tr:hover {
    background: var(--webinar-bg);
}

/* Status badges migliorati */
.status-partecipa,
.status-interessato {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
}

.status-partecipa {
    background: #dcfce7;
    color: #16a34a;
}

.status-interessato {
    background: #fef3c7;
    color: #d97706;
}

.count {
    background: var(--webinar-bg);
    color: var(--webinar-primary);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
}

/* Ricerca rapida */
#quick-search {
    padding: 8px 12px;
    border: 2px solid var(--webinar-border);
    border-radius: var(--webinar-radius);
    min-width: 300px;
    transition: border-color 0.3s ease;
}

#quick-search:focus {
    outline: none;
    border-color: var(--webinar-primary);
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.1);
}

#results-counter {
    margin: 10px 0;
    font-size: 14px;
    color: var(--webinar-text-light);
    font-style: italic;
}

/* Shortcode copy area */
.webinar-shortcode-copy {
    background: var(--webinar-white);
    padding: 15px;
    border: 2px dashed var(--webinar-primary);
    border-radius: var(--webinar-radius);
    margin: 15px 0;
}

.webinar-shortcode-copy textarea {
    width: 100%;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    resize: none;
    border: 1px solid var(--webinar-border);
    border-radius: 4px;
    padding: 8px;
    background: #f8f9fa;
}

.webinar-shortcode-copy textarea:focus {
    outline: none;
    border-color: var(--webinar-primary);
}

/* Analisi conversione */
.webinar-conversion-analysis {
    margin-top: 15px;
    padding: 15px;
    background: #e8f4fd;
    border-radius: var(--webinar-radius);
}

.webinar-conversion-analysis h4 {
    margin: 0 0 10px 0;
    color: var(--webinar-primary);
}

.webinar-conversion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    font-size: 13px;
}

/* Azioni bulk */
.webinar-bulk-actions {
    margin-top: 20px;
    padding: 20px;
    background: var(--webinar-bg);
    border-radius: var(--webinar-radius);
    border: 1px solid var(--webinar-border);
}

.webinar-bulk-actions h3 {
    margin: 0 0 15px 0;
    color: var(--webinar-text);
}

.webinar-bulk-actions-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ==========================================================================
   RESPONSIVE DESIGN PER ADMIN
   ========================================================================== */

@media (max-width: 768px) {
    .webinar-filter-section form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .webinar-filter-section select {
        min-width: auto;
        width: 100%;
    }
    
    .webinar-table-container {
        font-size: 12px;
    }
    
    .webinar-table-container table {
        min-width: 600px;
    }
    
    .webinar-table-container th,
    .webinar-table-container td {
        padding: 8px 4px;
    }
    
    .advanced-col {
        display: none !important;
    }
    
    #quick-search {
        min-width: auto;
        width: 100%;
    }
    
    .webinar-bulk-actions-grid {
        flex-direction: column;
    }
    
    .webinar-bulk-actions-grid .button {
        width: 100%;
        text-align: center;
    }
    
    .webinar-shortcode-copy textarea {
        height: 80px;
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .webinar-admin-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .webinar-stat-card {
        padding: 15px;
    }
    
    .webinar-stat-card-number {
        font-size: 1.8rem;
    }
    
    .webinar-conversion-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* ==========================================================================
   PRINT STYLES PER ADMIN
   ========================================================================== */

@media print {
    .webinar-filter-section,
    .webinar-bulk-actions,
    .webinar-shortcode-copy,
    .button,
    .nav-tab-wrapper {
        display: none;
    }
    
    .webinar-table-container {
        box-shadow: none;
        border: 1px solid #000;
    }
    
    .webinar-table-container table {
        font-size: 10px;
    }
    
    .advanced-col {
        display: none !important;
    }
    
    .status-partecipa,
    .status-interessato {
        border: 1px solid #000;
        background: transparent !important;
        color: #000 !important;
    }
}

/* ==========================================================================
   EMAIL TEMPLATES STYLES
   ========================================================================== */

.webinar-template-selector {
    margin: 20px 0;
    padding: 15px;
    background: var(--webinar-bg);
    border-radius: var(--webinar-radius);
    border: 1px solid var(--webinar-border);
}

.webinar-template-card {
    background: var(--webinar-white);
    border: 2px solid var(--webinar-border);
    border-radius: var(--webinar-radius);
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.webinar-template-card:hover {
    border-color: var(--webinar-primary);
    box-shadow: var(--webinar-shadow-lg);
    transform: translateY(-2px);
}

.webinar-template-card h4 {
    margin: 0 0 10px 0;
    color: var(--webinar-primary);
}

.webinar-template-card p {
    margin: 0 0 10px 0;
    color: var(--webinar-text-light);
}

.webinar-template-card small {
    color: var(--webinar-text-light);
    font-style: italic;
}

.webinar-variables-group {
    background: var(--webinar-white);
    border: 1px solid var(--webinar-border);
    border-radius: var(--webinar-radius);
    padding: 20px;
}

.webinar-variables-group h3 {
    margin: 0 0 15px 0;
    color: var(--webinar-primary);
    border-bottom: 2px solid var(--webinar-border);
    padding-bottom: 8px;
}

.webinar-variable-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.webinar-variable-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: var(--webinar-bg);
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.webinar-variable-item:hover {
    background: #e8f4fd;
}

.webinar-variable-item code {
    background: var(--webinar-primary);
    color: var(--webinar-white);
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.2s ease;
}

.webinar-variable-item code:hover {
    background: var(--webinar-secondary);
    transform: scale(1.05);
}

.webinar-variable-item span {
    font-size: 13px;
    color: var(--webinar-text-light);
}

.webinar-quick-action-card {
    background: var(--webinar-white);
    border: 2px solid var(--webinar-border);
    border-radius: var(--webinar-radius);
    padding: 20px;
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.webinar-quick-action-card:hover {
    border-color: var(--webinar-primary);
    box-shadow: var(--webinar-shadow-lg);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.webinar-quick-action-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.webinar-quick-action-content h4 {
    margin: 0 0 5px 0;
    color: var(--webinar-primary);
}

.webinar-quick-action-content p {
    margin: 0;
    color: var(--webinar-text-light);
    font-size: 14px;
}

.webinar-recipient-badge {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
}

.webinar-recipient-tutti {
    background: #e3f2fd;
    color: #1976d2;
}

.webinar-recipient-partecipa {
    background: #e8f5e8;
    color: #16a34a;
}

.webinar-recipient-interessato {
    background: #fff3cd;
    color: #d97706;
}

/* ==========================================================================
   ADMIN SETTINGS SPECIFIC STYLES
   ========================================================================== */

.webinar-system-info-card {
    background: var(--webinar-white);
    border: 1px solid var(--webinar-border);
    border-radius: var(--webinar-radius);
    padding: 20px;
    box-shadow: var(--webinar-shadow);
}

.webinar-system-info-card h3 {
    margin: 0 0 15px 0;
    color: var(--webinar-primary);
    border-bottom: 2px solid var(--webinar-border);
    padding-bottom: 8px;
}

.webinar-system-info-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.webinar-system-info-list div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.webinar-system-info-list div:last-child {
    border-bottom: none;
}

.webinar-maintenance-card {
    background: var(--webinar-white);
    border: 2px solid var(--webinar-border);
    border-radius: var(--webinar-radius);
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

.webinar-maintenance-card:hover {
    border-color: var(--webinar-primary);
    box-shadow: var(--webinar-shadow-lg);
    transform: translateY(-2px);
}

.webinar-maintenance-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.webinar-maintenance-content h4 {
    margin: 0 0 5px 0;
    color: var(--webinar-primary);
}

.webinar-maintenance-content p {
    margin: 0;
    color: var(--webinar-text-light);
    font-size: 14px;
}

/* Stili per form impostazioni */
.form-table th {
    width: 25%;
    font-weight: 600;
}

.form-table td input[type="number"],
.form-table td input[type="email"],
.form-table td input[type="text"] {
    padding: 8px 12px;
    border: 2px solid var(--webinar-border);
    border-radius: var(--webinar-radius);
    transition: border-color 0.3s ease;
}

.form-table td input:focus {
    outline: none;
    border-color: var(--webinar-primary);
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.1);
}

.form-table td select {
    padding: 8px 12px;
    border: 2px solid var(--webinar-border);
    border-radius: var(--webinar-radius);
    background: var(--webinar-white);
}

/* Sezione documentazione */
.webinar-form-section ul {
    line-height: 1.6;
}

.webinar-form-section ul li {
    margin-bottom: 8px;
}

/* Responsive per settings */
@media (max-width: 768px) {
    .webinar-system-info-list div {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .webinar-maintenance-card {
        flex-direction: column;
        text-align: center;
    }
    
    .form-table th,
    .form-table td {
        display: block;
        width: 100%;
    }
    
    .form-table th {
        padding-bottom: 5px;
    }
    
    .form-table td {
        padding-top: 0;
        padding-bottom: 20px;
    }
}
