.confirmation-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.success-header {
    text-align: center;
    margin-bottom: 2rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #9bc09c, #9bc09c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: successPulse 0.6s ease-in-out;
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

.checkmark {
    width: 30px;
    height: 30px;
    stroke: white;
    stroke-width: 3;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: drawCheck 0.8s ease-in-out 0.3s forwards;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
}

.success-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.success-subtitle {
    font-size: 1.125rem;
    color: #6c7293;
    margin-bottom: 0;
    line-height: 1.5;
}

.confirmation-details {
    margin-bottom: 2rem;
}

.confirmation-label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.confirmation-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.info-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #495057;
    min-width: 80px;
    flex-shrink: 0;
}

.info-value {
    color: #2c3e50;
    text-align: right;
    flex: 1;
    margin-left: 1rem;
}

.message-preview {
    font-style: italic;
    color: #6c7293;
    font-size: 0.9rem;
    line-height: 1.4;
}

.response-timeline {
    display: flex;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.timeline-icon {
    flex-shrink: 0;
}

.clock-icon {
    width: 24px;
    height: 24px;
    stroke: #667eea;
    stroke-width: 2;
    fill: none;
}

.timeline-content {
    flex: 1;
}

.timeline-content h3 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
}

.timeline-content p {
    margin: 0 0 1rem 0;
    color: #6c7293;
    line-height: 1.5;
}

.response-time {
    color: #667eea;
    font-size: 0.9rem;
}

.response-time strong {
    font-weight: 600;
}

.buttons-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    text-decoration: none;
    color: white;
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Animations */
@keyframes successPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .confirmation-wrapper {
        padding: 1.5rem;
        margin: 1rem;
    }

    .success-title {
        font-size: 1.5rem;
    }

    .success-subtitle {
        font-size: 1rem;
    }

    .info-row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .info-value {
        text-align: left;
        margin-left: 0;
    }

    .response-timeline {
        flex-direction: column;
        gap: 1rem;
    }

    .buttons-row {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        justify-content: center;
    }
}

/* Integration with your existing form styles */
.confirmation-wrapper .form-group {
    margin-bottom: 1.5rem;
}

.confirmation-wrapper .form-group:last-child {
    margin-bottom: 0;
}

/* If you want to match your existing form styling more closely */
.confirmation-wrapper {
    /* Add any specific styling that matches your form container */
}