
/* Reset and base styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
:root {
    --primary: #ff6600;
    --primary-light: #ff8533;
    --primary-dark: #e65c00;
    --primary-transparent: rgba(255, 102, 0, 0.05);
    --success: #00c853;
    --success-light: rgba(0, 200, 83, 0.1);
    --text-primary: #333333;
    --text-secondary: #666666;
    --background: #f5f7fa;
    --card-bg: #ffffff;
    --border: #e0e0e0;
    --shadow: rgba(0, 0, 0, 0.08);
    --accent: #4a90e2;
}
@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
@keyframes cardEntrance {
    0% {
        opacity: 0;
        transform: translateY(30px) translateZ(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0) translateZ(0);
    }
}
@keyframes contentReveal {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes connectorDraw {
    0% {
        transform: scaleX(0);
    }
    100% {
        transform: scaleX(1);
    }
}
@keyframes dividerExpand {
    0% {
        transform: scaleX(0);
        opacity: 0;
    }
    100% {
        transform: scaleX(1);
        opacity: 1;
    }
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8edf5 100%);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
/* Container and card styles */
.container {
    width: 100%;
    max-width: 600px;
    perspective: 1000px;
}
.card {
    background-color: var(--card-bg);
    border-radius: 16px;
    box-shadow:
        0 10px 30px var(--shadow),
        0 1px 3px rgba(0,0,0,0.05),
        0 0 0 1px rgba(255,255,255,0.2) inset;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: translateZ(0);
    border-top: 4px solid var(--primary);
    animation: cardEntrance 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.card:hover {
    box-shadow:
        0 15px 35px var(--shadow),
        0 1px 3px rgba(0,0,0,0.05),
        0 0 0 1px rgba(255,255,255,0.2) inset;
    transform: translateY(-5px) translateZ(0);
}
.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(circle at top right, var(--primary-transparent), transparent 70%);
    z-index: 0;
}
/* Logo styles */
.logo-container {
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: contentReveal 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}
.logo {
    max-width: 180px;
    max-height: 50px;
    width: auto;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}
/* Success icon animation */
.success-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background-color: var(--success-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    opacity: 0;
    animation: contentReveal 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.45s forwards;
}
.success-icon {
    width: 80px;
    height: 80px;
}
.pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--success-light);
    opacity: 0.6;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.6;
    }
    70% {
        transform: scale(1.1);
        opacity: 0;
    }
    100% {
        transform: scale(0.95);
        opacity: 0;
    }
}
.circle {
    stroke: var(--success);
    stroke-width: 2;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
.check {
    stroke: var(--success);
    stroke-width: 2;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    fill: none;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}
@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}
/* Typography */
.title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    opacity: 0;
    animation: contentReveal 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards;
}
.message {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: contentReveal 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.75s forwards;
}
.message p {
    margin-bottom: 12px;
}
.message p:last-child {
    margin-bottom: 0;
}
.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
    margin: 30px 0;
    position: relative;
    z-index: 1;
    transform-origin: center;
    transform: scaleX(0);
    opacity: 0;
    animation: dividerExpand 0.6s cubic-bezier(0.22, 1, 0.36, 1) 1.05s forwards;
}
/* Status indicator */
.status-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    opacity: 0;
    animation: contentReveal 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.9s forwards;
}
.status-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
    position: relative;
    transition: transform 0.2s ease;
}
.status-item:hover {
    transform: translateY(-3px);
}
.status-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 12px;
    right: -30px;
    width: 60px;
    height: 2px;
    background-color: var(--border);
    transform-origin: left;
    transform: scaleX(0);
    animation: connectorDraw 0.4s cubic-bezier(0.22, 1, 0.36, 1) 1.1s forwards;
}
.status-item:nth-child(2):not(:last-child)::after {
    animation-delay: 1.3s;
}
.status-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    color: white;
    font-size: 12px;
    font-weight: bold;
}
.status-icon.pending {
    background-color: var(--primary);
}
.status-icon.future {
    background-color: var(--border);
    color: var(--text-secondary);
}
.status-text {
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
}
.footer {
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    z-index: 1;
    opacity: 0;
    animation: contentReveal 0.5s cubic-bezier(0.22, 1, 0.36, 1) 1.15s forwards;
}
/* Help link */
.help-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--accent);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
    position: relative;
    z-index: 1;
}
.help-link:hover {
    color: var(--primary);
    text-decoration: underline;
}
/* Timestamp */
.timestamp {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 20px;
    font-style: italic;
    position: relative;
    z-index: 1;
    opacity: 0;
    animation: contentReveal 0.5s cubic-bezier(0.22, 1, 0.36, 1) 1.25s forwards;
}
/* Responsive adjustments */
@media (max-width: 600px) {
    .card {
        padding: 30px 20px;
    }
    .title {
        font-size: 24px;
    }
    .success-container {
        width: 90px;
        height: 90px;
    }
    .success-icon {
        width: 70px;
        height: 70px;
    }
    .status-container {
        flex-direction: column;
        align-items: flex-start;
        margin-left: 20px;
    }
    .status-item {
        flex-direction: row;
        width: 100%;
        margin-bottom: 15px;
        align-items: flex-start;
    }
    .status-item:not(:last-child)::after {
        top: auto;
        right: auto;
        left: 12px;
        bottom: -15px;
        width: 2px;
        height: 15px;
    }
    .status-icon {
        margin-bottom: 0;
        margin-right: 10px;
    }
    .status-text {
        text-align: left;
    }
}

/* Utility classes */
.text-center {
    text-align: center;
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .logo-container,
    .success-container,
    .title,
    .message,
    .status-container,
    .divider,
    .footer,
    .timestamp {
        opacity: 1 !important;
        transform: none !important;
    }
    .status-item:not(:last-child)::after {
        transform: scaleX(1) !important;
    }
    .pulse {
        display: none;
    }
    .circle {
        stroke-dashoffset: 0;
    }
    .check {
        stroke-dashoffset: 0;
    }
    body {
        background-size: 100% 100%;
    }
}

/* Print styles */
@media print {
    body {
        background: white;
        color: #000;
        padding: 0;
        display: block;
    }
    .card {
        box-shadow: none;
        border: 1px solid #ccc;
        border-top: 4px solid var(--primary);
        padding: 20px;
    }
    .card:hover {
        transform: none;
        box-shadow: none;
    }
    .card::before {
        display: none;
    }
    .pulse,
    .success-container {
        display: none;
    }
    .help-link {
        color: #000;
        text-decoration: underline;
    }
    .help-link::after {
        content: " (" attr(href) ")";
        font-size: 12px;
    }
}
