:root {
    --primary-color: #0081C9;
    --bg-light: #F8FAFC;
    --font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-light);
    font-family: var(--font-family);
    -webkit-font-smoothing: antialiased;
}

.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: filter 0.2s;
}

.btn-primary:hover {
    filter: brightness(0.9);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

#qrcode-container {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

#qrcode img {
    margin: 0 auto;
}

.tiny {
    font-size: 0.75rem;
}

.bg-success-subtle {
    background-color: #e6f7ef !important;
}

.text-success {
    color: #10b981 !important;
}

.bg-warning-subtle {
    background-color: #fffbeb !important;
}

.text-warning-emphasis {
    color: #b45309 !important;
}

.countdown-timer h3 {
    letter-spacing: 2px;
}

/* Custom styles for professional QRIS look */
.qris-payment-header {
    border-bottom: 2px dashed #eee;
    padding-bottom: 20px;
}

/* Success Checkmark Animation */
.success-checkmark {
    width: 80px;
    height: 115px;
    margin: 0 auto;
}

.check-icon {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 50%;
    box-sizing: content-box;
    border: 4px solid #4CAF50;
}

.check-icon::before {
    top: 3px;
    left: -2px;
    width: 30px;
    transform-origin: 100% 50%;
    border-radius: 100px 0 0 100px;
}

.check-icon::after {
    top: 0;
    left: 30px;
    width: 60px;
    transform-origin: 0 50%;
    border-radius: 0 100px 100px 0;
    animation: rotate-circle 4.25s ease-in;
}

.icon-line {
    height: 5px;
    background-color: #4CAF50;
    display: block;
    border-radius: 2px;
    position: absolute;
    z-index: 10;
}

.line-tip {
    top: 46px;
    left: 14px;
    width: 25px;
    transform: rotate(45deg);
    animation: icon-line-tip 0.75s;
}

.line-long {
    top: 38px;
    right: 8px;
    width: 47px;
    transform: rotate(-45deg);
    animation: icon-line-long 0.75s;
}

.icon-circle {
    top: -4px;
    left: -4px;
    z-index: 10;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid rgba(76, 175, 80, 0.5);
    box-sizing: content-box;
    position: absolute;
}

.icon-fix {
    top: 8px;
    width: 5px;
    left: 26px;
    z-index: 1;
    height: 85px;
    position: absolute;
    transform: rotate(-45deg);
    background-color: #ffffff;
}

@keyframes icon-line-tip {
    0% { width: 0; left: 1px; top: 19px; }
    54% { width: 0; left: 1px; top: 19px; }
    70% { width: 50px; left: -8px; top: 37px; }
    84% { width: 17px; left: 21px; top: 48px; }
    100% { width: 25px; left: 14px; top: 45px; }
}

@keyframes icon-line-long {
    0% { width: 0; right: 46px; top: 54px; }
    65% { width: 0; right: 46px; top: 54px; }
    84% { width: 55px; right: 0px; top: 35px; }
    100% { width: 47px; right: 8px; top: 38px; }
}
