/* Frontend Form Styles */

/* Explicit light mode defaults - ensure white backgrounds */
.awg-form-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
}

.awg-form-wrapper {
    background: #fff !important;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 2rem;
    color: #333 !important;
}

.awg-form-title {
    margin-bottom: 2rem;
    color: #333 !important;
}

.awg-limit-info {
    background: #e7f3ff !important;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border-left: 4px solid #0073aa;
    color: #333 !important;
}

.awg-form-group {
    margin-bottom: 1.5rem;
}

.awg-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.awg-form-group input[type="text"],
.awg-form-group input[type="email"],
.awg-form-group input[type="tel"],
.awg-form-group input[type="url"],
.awg-form-group textarea,
.awg-form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    background: #fff;
    color: #333;
    box-sizing: border-box;
}

.awg-form-group input[type="text"]:focus,
.awg-form-group input[type="email"]:focus,
.awg-form-group input[type="tel"]:focus,
.awg-form-group input[type="url"]:focus,
.awg-form-group textarea:focus,
.awg-form-group select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}

.awg-description {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

.awg-button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
}

.awg-button-primary {
    background: #0073aa;
    color: white;
}

.awg-button-primary:hover {
    background: #005a87;
}

.awg-button-secondary {
    background: #f0f0f0;
    color: #333;
}

/* Toggle Switch Styles */
.awg-toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    margin: 0;
}

.awg-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.awg-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 26px;
}

.awg-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.awg-toggle-switch input:checked + .awg-toggle-slider {
    background-color: #0073aa;
}

.awg-toggle-switch input:focus + .awg-toggle-slider {
    box-shadow: 0 0 1px #0073aa;
}

.awg-toggle-switch input:checked + .awg-toggle-slider:before {
    transform: translateX(24px);
}

.awg-form-navigation {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.awg-template-selector {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.awg-template-option input[type="radio"] {
    display: none;
}

.awg-template-label {
    display: block;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    background: #fff;
    color: #333;
}

.awg-template-option input[type="radio"]:checked + .awg-template-label {
    border-color: #0073aa;
    background: #f0f8ff;
}

/* Dark mode will be applied via class when user explicitly enables it */
.awg-dark-mode .awg-template-label {
    background: #000;
    color: #fff;
    border-color: #333;
}

.awg-dark-mode .awg-template-option input[type="radio"]:checked + .awg-template-label {
    border-color: #4a9eff;
    background: #1a1a1a;
}

.awg-gallery-preview {
    margin-top: 1rem;
}

.awg-gallery-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.awg-gallery-images img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

.awg-gallery-view-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.awg-radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Color Scheme Selector */
.awg-color-scheme-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.awg-color-option input[type="radio"] {
    display: none;
}

.awg-color-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    background: #fff;
}

.awg-color-option input[type="radio"]:checked + .awg-color-label {
    border-color: #0073aa;
    background: #f0f8ff;
}

.awg-color-sample {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Font Selector */
.awg-font-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.awg-font-option input[type="radio"] {
    display: none;
}

.awg-font-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    background: #fff;
}

.awg-font-option input[type="radio"]:checked + .awg-font-label {
    border-color: #0073aa;
    background: #f0f8ff;
}

.awg-font-sample {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

/* Gallery View Selector */
.awg-gallery-view-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.awg-gallery-view-option {
    display: block;
    cursor: pointer;
}

.awg-gallery-view-option input[type="radio"] {
    display: none;
}

.awg-gallery-view-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
}

.awg-gallery-view-option input[type="radio"]:checked ~ .awg-gallery-view-label,
.awg-gallery-view-option:has(input[type="radio"]:checked) .awg-gallery-view-label {
    border-color: #0073aa;
    background: #f0f8ff;
}

.awg-gallery-view-sample {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
}

@media (max-width: 768px) {
    .awg-color-scheme-selector,
    .awg-font-selector,
    .awg-gallery-view-selector,
    .awg-template-selector {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive template selector - ensure proper alignment */
@media (max-width: 480px) {
    .awg-template-selector {
        grid-template-columns: 1fr;
    }
}

/* Dark mode - only when explicitly enabled */
.awg-dark-mode .awg-color-label,
.awg-dark-mode .awg-font-label,
.awg-dark-mode .awg-gallery-view-label {
    background: #000;
    border-color: #333;
}

.awg-dark-mode .awg-color-option input[type="radio"]:checked + .awg-color-label,
.awg-dark-mode .awg-font-option input[type="radio"]:checked + .awg-font-label,
.awg-dark-mode .awg-gallery-view-option input[type="radio"]:checked + .awg-gallery-view-label {
    border-color: #4a9eff;
    background: #1a1a1a;
}

.awg-dark-mode .awg-font-sample {
    color: #fff;
}

/* Preview Modal */
#awg-preview-modal {
    background: #fff !important;
    color: #333 !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
}

.awg-modal-content {
    background: #fff !important;
    color: #333 !important;
    padding: 1.5rem;
    border-radius: 8px;
    max-width: 95%;
    max-height: 95vh;
    width: 95%;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    margin: auto;
}

@media (max-width: 768px) {
    .awg-modal-content {
        max-width: 100%;
        max-height: 100vh;
        width: 100%;
        padding: 1rem;
        border-radius: 0;
    }
}

.awg-modal-content h3 {
    color: #333 !important;
}

.awg-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    z-index: 10001;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

@media (max-width: 768px) {
    .awg-modal-content {
        padding: 1rem;
        max-height: 100vh;
    }
    
    .awg-modal-close {
        top: 0.5rem;
        right: 0.5rem;
        font-size: 1.5rem;
        width: 35px;
        height: 35px;
    }
}

@media (prefers-color-scheme: dark) {
    .awg-modal-content {
        background: #000;
        color: #fff;
    }
    
    .awg-modal-close {
        color: #fff;
        background: rgba(0,0,0,0.9);
    }
}

.awg-preview-actions {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    align-items: center;
    flex-shrink: 0;
    flex-wrap: nowrap;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
    width: 100%;
    clear: both;
}

.awg-preview-actions .awg-button {
    min-width: 120px;
    flex-shrink: 0;
    flex: 0 0 auto;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .awg-preview-actions {
        flex-direction: column;
        justify-content: stretch;
        gap: 0.75rem;
    }
    
    .awg-preview-actions .awg-button {
        width: 100%;
        margin: 0;
        min-width: unset;
    }
}

#awg-preview-iframe {
    flex: 1;
    min-height: 500px;
    max-height: 70vh;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: block;
}

@media (max-width: 768px) {
    #awg-preview-iframe {
        min-height: 400px;
        max-height: 60vh;
    }
}

@media (max-width: 480px) {
    #awg-preview-iframe {
        min-height: 350px;
        max-height: 55vh;
    }
}

.awg-preview-loading {
    text-align: center;
    padding: 2rem;
    color: #666;
}

/* Dark mode - only when explicitly enabled */
.awg-dark-mode .awg-preview-loading {
    color: #ccc;
}

.awg-dark-mode #awg-preview-iframe {
    border-color: #333;
}

/* Error and Success Messages */
.awg-error-message {
    background: #fee !important;
    border: 1px solid #fcc !important;
    color: #c33 !important;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    position: relative;
}

.awg-success-message {
    background: #efe !important;
    border: 1px solid #cfc !important;
    color: #3c3 !important;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    position: relative;
}

#awg-close-error,
#awg-close-success {
    float: right;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    margin: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#awg-close-error {
    color: #c33 !important;
}

#awg-close-success {
    color: #3c3 !important;
}

#awg-close-error:hover,
#awg-close-success:hover {
    opacity: 0.7;
}

/* Dashboard Styles */
.awg-dashboard-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem;
}

.awg-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .awg-dashboard-stats {
        grid-template-columns: 1fr;
    }
}

.awg-stat-box {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    color: #333;
}

.awg-stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #0073aa;
}

.awg-stat-label {
    color: #666;
    margin-top: 0.5rem;
}

/* Dark mode - only when explicitly enabled */
.awg-dark-mode .awg-stat-box {
    background: #000;
    color: #fff;
}

.awg-dark-mode .awg-stat-number {
    color: #4a9eff;
}

.awg-dark-mode .awg-stat-label {
    color: #ccc;
}

.awg-dashboard-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    background: #fff;
}

.awg-dashboard-table th,
.awg-dashboard-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
    color: #333;
}

.awg-dashboard-table th {
    background: #f9f9f9;
    font-weight: 600;
}

@media (max-width: 768px) {
    .awg-dashboard-table {
        font-size: 0.9rem;
    }
    
    .awg-dashboard-table th,
    .awg-dashboard-table td {
        padding: 0.75rem 0.5rem;
    }
    
    /* Make table scrollable on mobile */
    .awg-dashboard-container {
        overflow-x: auto;
    }
}

/* Dark mode - only when explicitly enabled */
.awg-dark-mode .awg-dashboard-table {
    background: #000;
}

.awg-dark-mode .awg-dashboard-table th,
.awg-dark-mode .awg-dashboard-table td {
    color: #fff;
    border-bottom-color: #333;
}

.awg-dark-mode .awg-dashboard-table th {
    background: #1a1a1a;
}

.awg-status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.awg-status-live {
    background: #d4edda;
    color: #155724;
}

.awg-status-pending {
    background: #fff3cd;
    color: #856404;
}

.awg-status-failed {
    background: #f8d7da;
    color: #721c24;
}

.awg-action-link {
    color: #0073aa;
    text-decoration: none;
    margin-right: 1rem;
}

.awg-action-link:hover {
    text-decoration: underline;
}

/* Dark mode - only when explicitly enabled */
.awg-dark-mode .awg-action-link {
    color: #4a9eff;
}

/* Progress Bar */
.awg-form-progress {
    margin-top: 20px;
    padding: 15px 0;
}

.awg-progress-bar {
    width: 100%;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.awg-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0073aa, #00a0d2);
    transition: width 0.3s ease;
}

.awg-progress-text {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .awg-form-container {
        padding: 0.5rem;
        margin: 1rem auto;
    }
    
    .awg-form-wrapper {
        padding: 1rem;
        border-radius: 4px;
    }
    
    .awg-form-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .awg-form-group {
        margin-bottom: 1.25rem;
    }
    
    .awg-form-group input[type="text"],
    .awg-form-group input[type="email"],
    .awg-form-group input[type="tel"],
    .awg-form-group input[type="url"],
    .awg-form-group textarea,
    .awg-form-group select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.875rem;
    }
    
    .awg-form-navigation {
        flex-direction: column-reverse;
    }
    
    .awg-form-navigation .awg-button {
        width: 100%;
    }
    
    .awg-button {
        padding: 0.875rem 1.25rem;
        font-size: 1rem;
    }
    
    .awg-limit-info {
        padding: 0.875rem;
        font-size: 0.9rem;
    }
    
    .awg-gallery-images {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 0.75rem;
    }
    
    .awg-gallery-view-options {
        flex-direction: column;
    }
    
    .awg-dashboard-container {
        padding: 0.5rem;
    }
}

/* Dark mode - only when explicitly enabled */
.awg-dark-mode .awg-progress-text {
    color: #ccc;
}

.awg-dark-mode .awg-progress-bar {
    background: #1a1a1a;
}

/* Success Message */
.awg-success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* Dark mode - only when explicitly enabled */
.awg-dark-mode .awg-success-message {
    background: #1a3a1a;
    color: #90ee90;
    border-color: #2a5a2a;
}

.awg-dark-mode .awg-success-message a {
    color: #4a9eff;
}

/* Ensure all containers have proper backgrounds - explicit light mode */
.awg-form-step {
    background: #fff !important;
    color: #333 !important;
}

/* Default: All containers white/transparent, text black (no media query needed) */

/* Info boxes and containers */
.awg-info-box {
    background: #fff;
    padding: 15px;
    border-radius: 4px;
    margin: 15px 0;
    color: #333;
}

.awg-info-box-blue {
    background: #f0f8ff;
    border-left: 3px solid #0073aa;
}

.awg-info-box-green {
    background: #f0fff4;
    border-left: 3px solid #28a745;
}

.awg-info-box-yellow {
    background: #fff3cd;
    border-left: 3px solid #ffc107;
    color: #856404;
}

.awg-info-box-cyan {
    background: #d1ecf1;
    border-left: 3px solid #0c5460;
    color: #0c5460;
}

.awg-info-box-light-blue {
    background: #e7f3ff;
    border-left: 3px solid #0066cc;
    color: #0066cc;
}

/* Dark mode - only when explicitly enabled via .awg-dark-mode class */
.awg-dark-mode .awg-form-wrapper {
    background: #000 !important;
    color: #fff !important;
}

.awg-dark-mode .awg-form-title {
    color: #fff !important;
}

.awg-dark-mode .awg-limit-info {
    background: #1a1a1a !important;
    color: #fff !important;
    border-left-color: #4a9eff !important;
}

.awg-dark-mode .awg-edit-mode-notice {
    background: #1a1a1a !important;
    color: #fff !important;
    border-left-color: #4a9eff !important;
}

.awg-dark-mode .awg-form-step {
    background: #000 !important;
    color: #fff !important;
}

.awg-dark-mode .awg-form-step * {
    color: #fff !important;
}

.awg-dark-mode .awg-form-step input,
.awg-dark-mode .awg-form-step textarea,
.awg-dark-mode .awg-form-step select {
    background: #1a1a1a !important;
    color: #fff !important;
    border-color: #333 !important;
}

.awg-dark-mode .awg-form-group label {
    color: #fff !important;
}

.awg-dark-mode .awg-form-group input[type="text"],
.awg-dark-mode .awg-form-group input[type="email"],
.awg-dark-mode .awg-form-group input[type="tel"],
.awg-dark-mode .awg-form-group input[type="url"],
.awg-dark-mode .awg-form-group textarea,
.awg-dark-mode .awg-form-group select {
    background: #1a1a1a !important;
    color: #fff !important;
    border-color: #333 !important;
}

.awg-dark-mode .awg-info-box,
.awg-dark-mode .awg-info-box-blue,
.awg-dark-mode .awg-info-box-green,
.awg-dark-mode .awg-info-box-yellow,
.awg-dark-mode .awg-info-box-cyan,
.awg-dark-mode .awg-info-box-light-blue {
    background: #1a1a1a !important;
    color: #fff !important;
}

.awg-dark-mode .awg-info-box-blue {
    border-left-color: #4a9eff;
}

.awg-dark-mode .awg-info-box-green {
    border-left-color: #4caf50;
}

.awg-dark-mode .awg-info-box-yellow {
    border-left-color: #ffc107;
}

.awg-dark-mode .awg-info-box-cyan {
    border-left-color: #00bcd4;
}

.awg-dark-mode .awg-info-box-light-blue {
    border-left-color: #4a9eff;
}

.awg-dark-mode div[style*="background: #f0f8ff"],
.awg-dark-mode div[style*="background: #f0fff4"],
.awg-dark-mode div[style*="background: #fff3cd"],
.awg-dark-mode div[style*="background: #d1ecf1"],
.awg-dark-mode div[style*="background: #e7f3ff"],
.awg-dark-mode div[style*="background:#f0f8ff"],
.awg-dark-mode div[style*="background:#f0fff4"],
.awg-dark-mode div[style*="background:#fff3cd"],
.awg-dark-mode div[style*="background:#d1ecf1"],
.awg-dark-mode div[style*="background:#e7f3ff"] {
    background: #1a1a1a !important;
    color: #fff !important;
}

.awg-dark-mode div[style*="background: #fff"],
.awg-dark-mode div[style*="background:#fff"] {
    background: #000 !important;
    color: #fff !important;
}

/* Dashboard Tabs */
.awg-dashboard-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #ddd;
}

.awg-tab-button {
    padding: 1rem 2rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    transition: all 0.3s;
    margin-bottom: -2px;
}

.awg-tab-button:hover {
    color: #0073aa;
}

.awg-tab-button.active {
    color: #0073aa;
    border-bottom-color: #0073aa;
}

.awg-dashboard-tab-content {
    display: none;
}

.awg-dashboard-tab-content.active {
    display: block;
}

/* Account Settings */
.awg-account-settings {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.awg-account-settings h2 {
    margin-bottom: 2rem;
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 1rem;
}

.awg-account-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.awg-account-section:last-child {
    border-bottom: none;
}

.awg-account-section h3 {
    margin-bottom: 1rem;
    color: #333;
}

/* Current Package */
.awg-current-package {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.awg-package-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.awg-package-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0073aa;
}

.awg-package-badge {
    background: #0073aa;
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
}

.awg-package-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.awg-package-features li {
    padding: 0.5rem 0;
    color: #666;
}

.awg-package-features li:before {
    content: "✓ ";
    color: #46b450;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Package Options */
.awg-package-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.awg-package-option {
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.awg-package-option:hover {
    border-color: #0073aa;
    box-shadow: 0 4px 12px rgba(0,115,170,0.1);
}

.awg-package-option.awg-package-current {
    border-color: #0073aa;
    background: #f0f8ff;
}

.awg-package-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.awg-package-header h4 {
    margin: 0;
    font-size: 1.25rem;
    color: #333;
}

.awg-package-current-badge {
    background: #46b450;
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.awg-package-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.awg-package-features-list li {
    padding: 0.5rem 0;
    color: #666;
    font-size: 0.9rem;
}

.awg-package-features-list li:before {
    content: "✓ ";
    color: #46b450;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Account Forms */
.awg-account-form {
    max-width: 600px;
}

.awg-account-form .awg-form-group {
    margin-bottom: 1.5rem;
}

.awg-account-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.awg-account-form input[type="text"],
.awg-account-form input[type="email"],
.awg-account-form input[type="password"],
.awg-account-form input[type="url"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.awg-account-form small {
    display: block;
    margin-top: 0.25rem;
    color: #666;
    font-size: 0.875rem;
}

/* cPanel Password List */
.awg-cpanel-password-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.awg-cpanel-password-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.awg-cpanel-website-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ddd;
}

.awg-cpanel-website-info strong {
    font-size: 1.1rem;
    color: #333;
}

.awg-website-url {
    color: #0073aa;
    font-size: 0.9rem;
}

.awg-cpanel-password-item .awg-form-group {
    margin-bottom: 1rem;
}

.awg-cpanel-password-item .awg-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.awg-cpanel-password-item input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

/* Account Statistics */
.awg-account-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.awg-stat-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.awg-stat-label {
    font-size: 0.875rem;
    color: #666;
}

.awg-stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0073aa;
}

/* Messages */
.awg-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
}

.awg-message.awg-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.awg-message.awg-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 768px) {
    .awg-dashboard-tabs {
        flex-direction: column;
        gap: 0;
    }
    
    .awg-tab-button {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid #ddd;
        border-left: 3px solid transparent;
        margin-bottom: 0;
    }
    
    .awg-tab-button.active {
        border-left-color: #0073aa;
        border-bottom-color: #ddd;
    }
    
    .awg-package-options {
        grid-template-columns: 1fr;
    }
    
    .awg-account-stats {
        grid-template-columns: 1fr;
    }
}

.awg-dark-mode .awg-form-step p,
.awg-dark-mode .awg-form-step span,
.awg-dark-mode .awg-form-step label,
.awg-dark-mode .awg-form-step strong,
.awg-dark-mode .awg-form-step em,
.awg-dark-mode .awg-form-step div,
.awg-dark-mode .awg-form-step h1,
.awg-dark-mode .awg-form-step h2,
.awg-dark-mode .awg-form-step h3,
.awg-dark-mode .awg-form-step h4,
.awg-dark-mode .awg-form-step h5,
.awg-dark-mode .awg-form-step h6 {
    color: #fff !important;
}

.awg-dark-mode .awg-form-step a {
    color: #4a9eff !important;
}





