/* Delete Data Page Styles */

/* Main Section */
.delete-data-section {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(0, 0, 0, 0.95) 100%);
    padding: 140px 24px 80px;
    display: flex;
    align-items: center;
}

.delete-data-container {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Header */
.delete-header {
    text-align: center;
    margin-bottom: 40px;
}

.delete-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-radius: 20px;
    margin-bottom: 24px;
    color: white;
    box-shadow: 0 8px 32px rgba(239, 68, 68, 0.3);
    transition: all 0.3s ease;
}

.delete-icon:hover {
    transform: scale(1.05) rotate(5deg);
}

.delete-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.2;
}

.delete-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Form Styles */
.delete-form-container {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.label-icon {
    font-size: 1.1rem;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: rgba(239, 68, 68, 0.5);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-select option {
    background: #1f2937;
    color: #ffffff;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

/* Data Types Section */
.data-types {
    margin-bottom: 32px;
    padding: 24px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.data-types h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 16px;
    text-align: center;
}

.data-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
}

.data-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.data-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(-4px);
}

.data-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Warning Box */
.warning-box {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: rgba(245, 158, 11, 0.1);
    border: 2px solid rgba(245, 158, 11, 0.3);
    border-radius: 12px;
    margin-bottom: 32px;
    animation: pulse-warning 3s ease-in-out infinite;
}

.warning-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.warning-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f59e0b;
    margin-bottom: 8px;
}

.warning-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin: 0;
}

/* Submit Button */
.btn-delete-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 32px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(239, 68, 68, 0.3);
}

.btn-delete-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(239, 68, 68, 0.4);
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.btn-delete-submit:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 1.2rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 16px;
}

.modal-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #059669;
    margin: 0;
}

.modal-body {
    margin-bottom: 32px;
}

.success-message {
    font-size: 1.2rem;
    font-weight: 700;
    color: #059669;
    text-align: center;
    margin-bottom: 16px;
    padding: 16px;
    background: rgba(5, 150, 105, 0.1);
    border-radius: 12px;
    border: 2px solid rgba(5, 150, 105, 0.2);
}

.success-details {
    font-size: 1rem;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Timeline */
.deletion-timeline {
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.deletion-timeline h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #6366f1;
    margin-bottom: 16px;
    text-align: center;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 0.95rem;
    color: #374151;
}

.timeline-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-info {
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.contact-info p {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #374151;
}

.contact-icon {
    font-size: 1.1rem;
}

.modal-footer {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-close-modal,
.btn-home {
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
    border: none;
    font-size: 1rem;
}

.btn-close-modal {
    background: #6b7280;
    color: white;
}

.btn-close-modal:hover {
    background: #4b5563;
    transform: translateY(-1px);
}

.btn-home {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-home:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-1px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-warning {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.3);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(245, 158, 11, 0.1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .delete-data-section {
        padding: 120px 16px 60px;
    }
    
    .delete-data-container {
        padding: 24px;
    }
    
    .delete-form-container {
        padding: 20px;
    }
    
    .delete-header h1 {
        font-size: 1.8rem;
    }
    
    .delete-description {
        font-size: 1rem;
    }
    
    .data-list {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 24px;
        width: 95%;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .btn-close-modal,
    .btn-home {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .delete-data-container {
        padding: 20px;
    }
    
    .delete-icon {
        width: 60px;
        height: 60px;
    }
    
    .delete-icon svg {
        width: 48px;
        height: 48px;
    }
    
    .delete-header h1 {
        font-size: 1.6rem;
    }
    
    .form-input,
    .form-textarea,
    .form-select {
        padding: 14px 16px;
    }
    
    .warning-box {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .data-types {
        padding: 16px;
    }
}