/**
 * Forms CSS
 * Styles for all form pages in the plugin
 */

/* Premium disabled styles */
.premium-locked-disabled {
    opacity: 0.8;
    position: relative;
}

.premium-locked-disabled::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,193,7,0.1) 0%, rgba(255,193,7,0.05) 100%);
    border-radius: 0.75rem;
    z-index: 1;
}

.premium-locked-disabled .card-body {
    position: relative;
    z-index: 2;
}

.premium-badge-disabled .badge {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(255,193,7,0.3);
}

/* Card hover effects */
.content-type-card:hover,
.marketplace-card:hover,
.platform-card:hover {
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.premium-locked-disabled:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,193,7,0.2) !important;
}

.premium-locked-disabled .btn-warning {
    background: linear-gradient(45deg, #ffc107, #ff8c00);
    border: none;
    color: #000;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(255,193,7,0.3);
}

.premium-locked-disabled .btn-warning:hover {
    background: linear-gradient(45deg, #ff8c00, #ffc107);
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(255,193,7,0.4);
}

/* Form animations */
.slide-in {
    animation: slideIn 0.5s ease-in-out;
}

.slide-out {
    animation: slideOut 0.3s ease-in-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Loading and status styles */
.loading {
    position: relative;
    opacity: 0.7;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Modal enhancements */
.modal-content {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
}

/* Result container styles */
#result-container .alert {
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Form field enhancements */
.form-control:focus,
.form-select:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

.btn-primary {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #0056b3, #007bff);
    transform: translateY(-1px);
}

/* Statistics cards */
.stats-card {
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}