/* /modules/mycustomsuccess/views/css/success.css */

.page-custom-success {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 2rem 0;
}

.success-header {
    padding: 2rem 0;
}

.success-icon {
    font-size: 4rem;
    color: #28a745;
    animation: bounceIn 0.6s ease-in-out;
}

.success-title {
    color: #28a745;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.success-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
}

.order-summary .card-header,
.next-steps .card-header,
.support-info .card-header {
    border-bottom: 2px solid #e9ecef;
}

.info-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.info-item:last-child {
    border-bottom: none;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-icon {
    width: 50px;
    height: 50px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-content h6 {
    color: #343a40;
    margin-bottom: 0.25rem;
}

.step-content p {
    color: #6c757d;
    margin-bottom: 0;
}

.support-contacts {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 0.375rem;
}

.contact-item {
    display: flex;
    align-items: center;
}

.action-buttons .btn {
    padding: 0.75rem 1rem;
    font-weight: 500;
}

/* 动画效果 */
@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .success-title {
        font-size: 2rem;
    }

    .step-item {
        flex-direction: column;
        text-align: center;
    }

    .step-icon {
        align-self: center;
    }

    .action-buttons .btn {
        margin-bottom: 0.5rem;
    }
}

/* 打印样式 */
@media print {
    .action-buttons,
    .support-info .btn {
        display: none !important;
    }

    .page-custom-success {
        background: white !important;
    }

    .card {
        border: 1px solid #dee2e6 !important;
        box-shadow: none !important;
    }
}