/*
 * 版权所有(C) 云朵科技 2016-2025 所有权利保留
 * 项目名： x-api-service
 * 文件名： index.css
 * 模块说明：
 * 修改历史:
 * 2025-4-4 12:00:33 - 云朵科技
 */

.unauthorized-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.error-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 560px;
    width: 100%;
    transition: transform 0.3s ease;
}

.error-icon {
    font-size: 4.5rem;
    color: #dc3545;
    margin-bottom: 1.2rem;
    animation: pulse 1.5s infinite;
}

.status-code {
    color: #dc3545;
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
}

.error-message {
    color: #2d3436;
    font-size: 1.3rem;
    margin-bottom: 1.8rem;
    line-height: 1.5;
}

.error-details {
    background: #f8f9fa;
    padding: 1.2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.detail-title {
    color: #495057;
    font-weight: 500;
    margin-bottom: 0.6rem;
}

.cause-list {
    list-style: none;
    padding: 0;
}

.cause-list li {
    color: #6c757d;
    padding: 0.3rem 0;
    font-size: 0.95rem;
}

.action-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.action-btn {
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-block;
}

.primary {
    background: #dc3545;
    color: white;
    border: 2px solid #dc3545;
}

.secondary {
    background: white;
    color: #2d3436;
    border: 2px solid #dee2e6;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.primary:hover {
    background: #c82333;
    border-color: #bd2130;
}

.secondary:hover {
    border-color: #ced4da;
    background: #f8f9fa;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    .error-card {
        padding: 1.8rem;
    }

    .status-code {
        font-size: 1.8rem;
    }

    .error-message {
        font-size: 1.1rem;
    }

    .action-btn {
        width: 100%;
    }
}