.life-jacket-calculator-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.life-jacket-calculator-header {
    background: linear-gradient(135deg, #07385D, #0a4a7a) !important;
    border-bottom: 3px solid #05294a;
}

.life-jacket-calculator-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.life-jacket-calculator-text-primary {
    color: #07385D !important;
}

.life-jacket-calculator-text-secondary {
    color: #0a4a7a !important;
}

.life-jacket-calculator-btn-primary {
    background: linear-gradient(135deg, #07385D, #0a4a7a);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.life-jacket-calculator-btn-primary:hover {
    background: linear-gradient(135deg, #05294a, #07385D);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(7, 56, 93, 0.3);
}

.life-jacket-calculator-output-panel {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 1px solid #dee2e6 !important;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.life-jacket-calculator-output-panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.life-jacket-calculator-highlight-panel {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb) !important;
    border-color: #07385D !important;
}

.life-jacket-calculator-output-value {
    background: linear-gradient(45deg, #07385D, #0a4a7a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buoyancy Meter */
.buoyancy-meter .meter-bar {
    background: linear-gradient(90deg, #c62828 0%, #E57373 25%, #FFB74D 50%, #81C784 75%, #07385D 100%) !important;
    height: 25px;
    border-radius: 12px;
}

.buoyancy-meter .current-buoyancy {
    width: 6px;
    height: 35px;
    top: -5px;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    border-radius: 3px;
}

.buoyancy-markers span {
    font-size: 10px;
    transform: translateX(-50%);
    top: 5px;
    color: #666;
    font-weight: 600;
}

.scale-labels span {
    font-size: 11px;
    font-weight: 600;
}

/* Safety Status */
.safety-status {
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.safety-status-excellent { background-color: #07385D; color: white; }
.safety-status-good { background-color: #81C784; color: white; }
.safety-status-adequate { background-color: #FFB74D; color: black; }
.safety-status-warning { background-color: #E57373; color: white; }
.safety-status-danger { background-color: #c62828; color: white; }

/* PFD Cards */
.pfd-card {
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}

.pfd-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.pfd-recommended {
    border: 2px solid #07385D;
    background: linear-gradient(135deg, #f0f9ff, #e1f5fe);
}

.pfd-type1 { border-left: 4px solid #c62828; }
.pfd-type2 { border-left: 4px solid #E57373; }
.pfd-type3 { border-left: 4px solid #FFB74D; }
.pfd-type4 { border-left: 4px solid #81C784; }
.pfd-type5 { border-left: 4px solid #07385D; }
.pfd-inflatable { border-left: 4px solid #0a4a7a; }

.pfd-recommendation {
    padding: 8px 12px;
    margin-bottom: 8px;
    border-left: 4px solid #07385D;
    background-color: #f8f9fa;
    border-radius: 0 4px 4px 0;
}

/* Loading Animation */
.life-jacket-calculator-btn-loading {
    position: relative;
    color: transparent !important;
}

.life-jacket-calculator-btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: life-jacket-calculator-spinner 0.8s ease infinite;
}

@keyframes life-jacket-calculator-spinner {
    from { transform: rotate(0turn); }
    to { transform: rotate(1turn); }
}

/* Form Styles */
.form-select:focus, .form-control:focus {
    border-color: #07385D;
    box-shadow: 0 0 0 0.2rem rgba(7, 56, 93, 0.25);
}

/* Alert Styles */
.alert-info {
    background-color: #e3f2fd;
    border-color: #bbdefb;
    color: #07385D;
}

/* Badge Styles */
.badge {
    font-size: 11px;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .life-jacket-calculator-container {
        padding: 10px;
    }
    
    .life-jacket-calculator-output-panel {
        margin-bottom: 1rem;
    }
    
    .buoyancy-meter {
        margin: 1rem 0;
    }
    
    .border-end {
        border-right: none !important;
        border-bottom: 1px solid #dee2e6;
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }
}

/* Print Styles */
@media print {
    .life-jacket-calculator-btn-primary,
    .life-jacket-calculator-form {
        display: none;
    }
    
    .life-jacket-calculator-results {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}