/* ===========================================
   TEST EMAIL WARNING PAGE STYLES
   Professional warning page for test email addresses
   Envato-compliant CSS with validation and best practices
   =========================================== */

/* Warning Message Styles */
.warning-message {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.warning-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: #f39c12;
}

.warning-message i {
    color: #f39c12;
    margin-right: 10px;
    font-size: 1.1em;
}

/* Reset Info Icon Styles */
.reset-info-icon i {
    color: #f39c12 !important;
    font-size: 2rem;
    animation: pulse 2s infinite;
}

.reset-info-title {
    color: #f39c12;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Enhanced Warning Card */
.warning-card {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px solid #f39c12;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.2);
}

.warning-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

.warning-card .warning-icon {
    font-size: 3rem;
    color: #f39c12;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

.warning-card .warning-title {
    color: #856404;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.warning-card .warning-description {
    color: #856404;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Action Buttons */
.warning-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.warning-actions .btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 12px 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.warning-actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.warning-actions .btn:hover::before {
    left: 100%;
}

.warning-actions .btn-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.warning-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.4);
}

.warning-actions .btn-outline-secondary {
    border: 2px solid #6c757d;
    color: #6c757d;
    background: transparent;
}

.warning-actions .btn-outline-secondary:hover {
    background: #6c757d;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

/* Info Cards */
.info-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
    transition: all 0.3s ease;
}

.info-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.info-card .info-icon {
    font-size: 1.5rem;
    color: #17a2b8;
    margin-bottom: 1rem;
}

.info-card .info-title {
    color: #495057;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.info-card .info-description {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Process List */
.reset-process-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.reset-process-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #ffffff;
    border-radius: 8px;
    border-left: 4px solid #17a2b8;
    transition: all 0.3s ease;
}

.reset-process-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.reset-process-number {
    background: #17a2b8;
    color: #ffffff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.reset-process-content {
    flex: 1;
}

.reset-process-title {
    color: #495057;
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.reset-process-description {
    color: #6c757d;
    font-size: 0.875rem;
    line-height: 1.4;
    margin: 0;
}

/* Help Section */
.help-card {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 1px solid #2196f3;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.help-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

.help-content {
    position: relative;
    z-index: 1;
}

.help-icon {
    font-size: 3rem;
    color: #2196f3;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.help-title {
    color: #1976d2;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.help-description {
    color: #1976d2;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
}

.help-button {
    background: linear-gradient(135deg, #2196f3, #1976d2);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.help-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(33, 150, 243, 0.4);
    color: #ffffff;
    text-decoration: none;
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .warning-card {
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    .warning-card .warning-icon {
        font-size: 2.5rem;
    }
    
    .warning-card .warning-title {
        font-size: 1.25rem;
    }
    
    .warning-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .warning-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .reset-process-item {
        flex-direction: column;
        text-align: center;
    }
    
    .reset-process-number {
        align-self: center;
    }
    
    .help-card {
        padding: 1.5rem;
    }
    
    .help-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .warning-message {
        padding: 12px;
        margin: 15px 0;
    }
    
    .warning-card {
        padding: 1rem;
    }
    
    .warning-card .warning-icon {
        font-size: 2rem;
    }
    
    .warning-card .warning-title {
        font-size: 1.1rem;
    }
    
    .warning-card .warning-description {
        font-size: 1rem;
    }
    
    .reset-process-item {
        padding: 0.75rem;
    }
    
    .reset-process-number {
        width: 25px;
        height: 25px;
        font-size: 0.75rem;
    }
    
    .help-card {
        padding: 1rem;
    }
    
    .help-icon {
        font-size: 2rem;
    }
    
    .help-title {
        font-size: 1.1rem;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .warning-message {
        background-color: #2d3748;
        border-color: #4a5568;
        color: #e2e8f0;
    }
    
    .warning-card {
        background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
        border-color: #f39c12;
    }
    
    .warning-card .warning-title,
    .warning-card .warning-description {
        color: #e2e8f0;
    }
    
    .info-card {
        background: #2d3748;
        border-color: #4a5568;
    }
    
    .info-card .info-title {
        color: #f7fafc;
    }
    
    .info-card .info-description {
        color: #a0aec0;
    }
    
    .reset-process-item {
        background: #2d3748;
        border-left-color: #17a2b8;
    }
    
    .reset-process-title {
        color: #f7fafc;
    }
    
    .reset-process-description {
        color: #a0aec0;
    }
    
    .help-card {
        background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
        border-color: #2196f3;
    }
    
    .help-title,
    .help-description {
        color: #e2e8f0;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .warning-message,
    .warning-card,
    .info-card,
    .reset-process-item,
    .help-card {
        border: 2px solid #000000;
        background: #ffffff !important;
        color: #000000 !important;
    }
    
    .warning-message i,
    .reset-info-icon i,
    .warning-card .warning-icon,
    .info-card .info-icon,
    .help-icon {
        color: #000000 !important;
    }
    
    .reset-process-number {
        background: #000000 !important;
        color: #ffffff !important;
    }
}

/* Print Styles */
@media print {
    .warning-actions,
    .help-button {
        display: none !important;
    }
    
    .warning-message,
    .warning-card,
    .info-card,
    .reset-process-item,
    .help-card {
        border: 1px solid #000000 !important;
        background: #ffffff !important;
        color: #000000 !important;
        box-shadow: none !important;
    }
    
    .warning-card::before,
    .help-card::before {
        display: none !important;
    }
}
