﻿/* Dark Bergwerk Mine Theme - Cancel Page */
/* Professional industrial design with copper accents */

.cancel-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    padding: 2rem;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    position: relative;
    overflow: hidden;
}

    .cancel-page::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 20% 50%, rgba(200, 155, 92, 0.05) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(200, 155, 92, 0.03) 0%, transparent 50%);
        pointer-events: none;
    }

.cancel-container {
    max-width: 600px;
    width: 100%;
    background: rgba(40, 40, 40, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(200, 155, 92, 0.2);
    border-radius: 24px;
    padding: 4rem 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    text-align: center;
    animation: slideUp 0.5s ease-out;
    position: relative;
    z-index: 1;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cancel Icon */
.cancel-icon-wrapper {
    margin: 0 auto 2rem;
    width: 80px;
    height: 80px;
    animation: iconPop 0.5s ease-out 0.2s both;
}

@keyframes iconPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.cancel-icon {
    width: 100%;
    height: 100%;
}

.cancel-circle {
    fill: none;
    stroke: #ef4444;
    stroke-width: 2;
    stroke-linecap: round;
    animation: drawCircle 0.5s ease-out 0.4s both;
    filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.4));
}

@keyframes drawCircle {
    from {
        stroke-dasharray: 0 283;
    }

    to {
        stroke-dasharray: 283 283;
    }
}

.cancel-line {
    stroke: #ef4444;
    stroke-width: 2;
    stroke-linecap: round;
    filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.3));
}

.cancel-line-1 {
    animation: drawLine 0.3s ease-out 0.7s both;
}

.cancel-line-2 {
    animation: drawLine 0.3s ease-out 0.85s both;
}

@keyframes drawLine {
    from {
        stroke-dasharray: 0 60;
    }

    to {
        stroke-dasharray: 60 60;
    }
}

/* Text Styles */
.cancel-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #f5f5f5;
    margin: 0 0 0.5rem;
    letter-spacing: -0.025em;
    font-family: "Playfair Display", serif;
    animation: fadeIn 0.5s ease-out 1s both;
}

.cancel-subtitle {
    font-size: 1.125rem;
    color: rgba(245, 245, 245, 0.7);
    margin: 0 0 2.5rem;
    font-weight: 400;
    line-height: 1.6;
    animation: fadeIn 0.5s ease-out 1.1s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Info Card */
.cancel-info-card {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.5s ease-out 1.2s both;
}

.cancel-message {
    color: #fca5a5;
    margin: 0;
    line-height: 1.6;
    font-size: 0.9375rem;
}

/* Help Section */
.cancel-help-section {
    margin: 2.5rem 0;
    animation: fadeIn 0.5s ease-out 1.3s both;
}

.cancel-help-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #f5f5f5;
    margin: 0 0 1.5rem;
}

.cancel-help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.cancel-help-item {
    text-align: center;
    padding: 1rem;
    background: rgba(50, 50, 50, 0.5);
    border: 1px solid rgba(200, 155, 92, 0.15);
    border-radius: 12px;
    transition: all 0.3s ease;
}

    .cancel-help-item:hover {
        background: rgba(60, 60, 60, 0.6);
        border-color: rgba(200, 155, 92, 0.3);
        transform: translateY(-2px);
    }

.cancel-help-icon {
    width: 40px;
    height: 40px;
    color: #c89b5c;
    margin: 0 auto 0.75rem;
}

.cancel-help-item h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #f5f5f5;
    margin: 0 0 0.5rem;
}

.cancel-help-item p {
    font-size: 0.875rem;
    color: rgba(245, 245, 245, 0.6);
    margin: 0;
}

/* Action Buttons */
.cancel-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeIn 0.5s ease-out 1.4s both;
}

.cancel-btn {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

    .cancel-btn::before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        transition: left 0.5s ease;
    }

    .cancel-btn:hover::before {
        left: 100%;
    }

.cancel-btn-primary {
    background: linear-gradient(135deg, #c89b5c 0%, #b8864a 100%);
    color: #1a1a1a;
    border: 1px solid #c89b5c;
    box-shadow: 0 4px 20px rgba(200, 155, 92, 0.3);
}

    .cancel-btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 30px rgba(200, 155, 92, 0.4);
    }

.cancel-btn-secondary {
    background: rgba(50, 50, 50, 0.8);
    color: #f5f5f5;
    border: 1px solid rgba(200, 155, 92, 0.3);
    backdrop-filter: blur(10px);
}

    .cancel-btn-secondary:hover {
        background: rgba(60, 60, 60, 0.9);
        border-color: rgba(200, 155, 92, 0.5);
        transform: translateY(-2px);
    }

/* Footer */
.cancel-footer {
    padding-top: 2rem;
    border-top: 1px solid rgba(200, 155, 92, 0.2);
    animation: fadeIn 0.5s ease-out 1.5s both;
}

    .cancel-footer p {
        color: rgba(245, 245, 245, 0.5);
        font-size: 0.875rem;
        margin: 0;
    }

/* Responsive */
@media (max-width: 640px) {
    .cancel-container {
        padding: 3rem 2rem;
    }

    .cancel-title {
        font-size: 2rem;
    }

    .cancel-subtitle {
        font-size: 1rem;
    }

    .cancel-actions {
        flex-direction: column;
    }

    .cancel-help-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}