* {
    font-family: 'Inter', sans-serif;
}

body {
    background: linear-gradient(135deg, #0B4F6C 0%, #1B98A0 100%);
    min-height: 100vh;
}

.calculator-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.calculator-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.3);
}

.input-field {
    transition: all 0.3s ease;
    border: 2px solid #E2E8F0;
    background: white;
}

.input-field:focus {
    border-color: #1B98A0;
    box-shadow: 0 0 0 4px rgba(27, 152, 160, 0.1);
    outline: none;
}

.result-card {
    background: linear-gradient(135deg, #0B4F6C 0%, #1B98A0 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.result-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(30px, -30px);
}

.gst-badge {
    background: linear-gradient(135deg, #F59E0B 0%, #F97316 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.history-item {
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.history-item:hover {
    border-left-color: #1B98A0;
    background: #F7FAFC;
    transform: translateX(5px);
}

.btn-primary {
    background: linear-gradient(135deg, #0B4F6C 0%, #1B98A0 100%);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(11, 79, 108, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: linear-gradient(135deg, #F59E0B 0%, #F97316 100%);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.4);
}

.toast-message {
    animation: slideIn 0.3s ease, fadeOut 0.3s ease 2.7s;
    z-index: 1000;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.loading-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #1B98A0;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.floating-label {
    position: absolute;
    pointer-events: none;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    transition: 0.2s ease all;
    color: #94A3B8;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input:focus~.floating-label,
.input-wrapper input:not(:placeholder-shown)~.floating-label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    background: white;
    padding: 0 5px;
    color: #1B98A0;
}

@media print {
    .no-print {
        display: none !important;
    }
}

/* Custom scrollbar */
.history-scroll::-webkit-scrollbar {
    width: 6px;
}

.history-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.history-scroll::-webkit-scrollbar-thumb {
    background: #1B98A0;
    border-radius: 10px;
}

.history-scroll::-webkit-scrollbar-thumb:hover {
    background: #0B4F6C;
}