* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: transparent;
    padding: 20px;
    min-height: 100vh;
}

.container {
    max-width: 600px;
    margin: 0 auto;
}

.calculator-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    animation: slideUp 0.6s ease-out;
}

/* Animated Header */
.animated-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
    position: relative;
}

.buffalo-icon {
    font-size: 2.5em;
    animation: bounce 2s infinite;
}

.animated-header h1 {
    color: #2c5530;
    font-size: 1.8em;
    text-align: center;
}

.pulse-dot {
    width: 12px;
    height: 12px;
    background: #4CAF50;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1em;
}

/* Form Styles */
.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #333;
    font-size: 1em;
}

.form-select, .form-input {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1em;
    transition: all 0.3s ease;
    background: white;
}

.form-select:focus, .form-input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
    transform: translateY(-2px);
}

/* Calculate Button */
.calculate-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.calculate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.calculate-btn:active {
    transform: translateY(-1px);
}

.btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.calculate-btn.loading .btn-text {
    opacity: 0;
}

.calculate-btn.loading .btn-loader {
    display: block;
}

/* Result Section */
.result-section {
    display: none;
    margin-top: 30px;
    animation: fadeIn 0.6s ease-out;
}

.result-card {
    background: linear-gradient(135deg, #e8f5e8, #f0f8f0);
    border: 2px solid #4CAF50;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    margin-bottom: 20px;
}

.result-icon {
    font-size: 3em;
    margin-bottom: 15px;
    animation: scaleIn 0.6s ease-out;
}

.result-card h3 {
    color: #2c5530;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.delivery-date {
    font-size: 2em;
    font-weight: bold;
    color: #4CAF50;
    margin: 15px 0;
    animation: pulse 2s infinite;
}

.timeline {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.timeline-item {
    text-align: center;
}

.timeline-item span {
    display: block;
    color: #666;
    font-size: 0.9em;
    margin-bottom: 5px;
}

.timeline-item strong {
    color: #333;
    font-size: 1.2em;
}

/* Progress Bar */
.progress-section {
    margin-top: 25px;
}

.progress-section h4 {
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    border-radius: 10px;
    width: 0%;
    transition: width 1s ease-in-out;
}

.progress-text {
    text-align: center;
    font-weight: 600;
    color: #4CAF50;
    font-size: 1.1em;
}

/* Info Section */
.info-section {
    margin-top: 30px;
    animation: slideUp 0.6s ease-out 0.3s both;
}

.info-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    border-left: 4px solid #4CAF50;
}

.info-card h4 {
    color: #2c5530;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 20px;
}

.info-card li:before {
    content: "•";
    color: #4CAF50;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .calculator-card {
        padding: 20px;
        margin: 10px;
    }
    
    .animated-header h1 {
        font-size: 1.5em;
    }
    
    .delivery-date {
        font-size: 1.6em;
    }
    
    .timeline {
        flex-direction: column;
        gap: 15px;
    }
}