/* ========================================
   VPS DELETE PAGE STYLES
   ======================================== */

/* Page Container */
.vps-delete-page {
    min-height: 100vh;
    background: linear-gradient(135deg, 
        var(--bg-primary) 0%, 
        var(--surface-secondary) 50%, 
        var(--bg-primary) 100%);
    position: relative;
    overflow-x: hidden;
}

.vps-delete-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(220, 38, 38, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(239, 68, 68, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(185, 28, 28, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.vps-delete-page .container {
    position: relative;
    z-index: 1;
}

/* Hero Section */
.delete-hero {
    padding: 4rem 0 2rem;
    text-align: center;
    background: transparent;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.hero-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
    animation: pulse 2s infinite;
}

.hero-icon i {
    font-size: 2.5rem;
    color: white;
}

@keyframes pulse {
    0% {
        box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
    }
    50% {
        box-shadow: 0 10px 30px rgba(220, 38, 38, 0.5);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
    }
}

.delete-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* Main Content */
.delete-content {
    padding: 2rem 0 4rem;
    background: transparent;
}

.delete-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Warning Card */
.warning-card {
    background: var(--surface-primary);
    border: 2px solid #dc2626;
    border-radius: 20px;
    box-shadow: 
        0 10px 30px rgba(220, 38, 38, 0.15),
        0 1px 8px rgba(220, 38, 38, 0.1);
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
}

.warning-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #ef4444, #dc2626);
    opacity: 1;
}

.warning-header {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.warning-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.warning-icon i {
    font-size: 2rem;
    color: white;
}

.warning-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.warning-body {
    padding: 2rem;
}

.warning-message {
    margin-bottom: 2rem;
}

.warning-message p {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.server-info-highlight {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border: 2px solid #fecaca;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.server-name,
.server-ip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #dc2626;
}

.server-name:last-child,
.server-ip:last-child {
    margin-bottom: 0;
}

.server-name i,
.server-ip i {
    font-size: 1.25rem;
    width: 20px;
    text-align: center;
}

.warning-consequences {
    margin-bottom: 2rem;
}

.warning-consequences h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #dc2626;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.warning-consequences ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.warning-consequences li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.5;
    border-bottom: 1px solid var(--border-secondary);
}

.warning-consequences li:last-child {
    border-bottom: none;
}

.warning-consequences li i {
    color: #dc2626;
    font-size: 1.1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.warning-recommendation {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 2px solid #f59e0b;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.recommendation-icon {
    width: 40px;
    height: 40px;
    background: #f59e0b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.recommendation-icon i {
    color: white;
    font-size: 1.25rem;
}

.recommendation-text {
    color: #92400e;
    font-size: 1rem;
    line-height: 1.5;
}

/* Server Details Card */
.server-details-card {
    background: var(--surface-primary);
    border: 1px solid var(--border-primary);
    border-radius: 20px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 1px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    backdrop-filter: blur(10px);
    height: fit-content;
}

.details-header {
    background: linear-gradient(135deg, var(--surface-secondary), var(--surface-primary));
    border-bottom: 1px solid var(--border-primary);
    padding: 1.5rem;
    text-align: center;
}

.details-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.details-header i {
    color: var(--brand-primary);
    font-size: 1.5rem;
}

.details-body {
    padding: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-secondary);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon i {
    color: white;
    font-size: 1.1rem;
}

.detail-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.detail-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.detail-value {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

/* Action Section */
.action-section {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 0 1rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.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;
}

.btn:hover::before {
    left: 100%;
}

.btn-cancel {
    background: linear-gradient(135deg, #6b7280, #9ca3af);
    color: white;
    box-shadow: 0 4px 15px rgba(107, 114, 128, 0.3);
}

.btn-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(107, 114, 128, 0.4);
    color: white;
    text-decoration: none;
}

.btn-delete {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.btn-delete:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
    background: linear-gradient(135deg, #b91c1c, #dc2626);
}

/* Modal Styles */
.modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.modal-header {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
    border-radius: 16px 16px 0 0;
    border-bottom: none;
    padding: 1.5rem;
}

.modal-title {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-body {
    padding: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.modal-footer {
    border-top: 1px solid var(--border-primary);
    padding: 1.5rem;
    gap: 1rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .delete-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .delete-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .delete-hero {
        padding: 2rem 0 1rem;
    }
    
    .delete-hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-icon {
        width: 60px;
        height: 60px;
    }
    
    .hero-icon i {
        font-size: 2rem;
    }
    
    .warning-header,
    .warning-body,
    .details-header,
    .details-body {
        padding: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .delete-grid {
        padding: 0 0.5rem;
    }
}

@media (max-width: 576px) {
    .delete-hero h1 {
        font-size: 1.75rem;
    }
    
    .warning-header,
    .warning-body,
    .details-header,
    .details-body {
        padding: 1rem;
    }
    
    .server-info-highlight {
        padding: 1rem;
    }
    
    .warning-recommendation {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-footer {
        padding: 1rem;
    }
}

/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.warning-card {
    animation: fadeInUp 0.6s ease-out;
}

.server-details-card {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.action-section {
    animation: fadeInUp 0.6s ease-out 0.4s both;
}
















