﻿.form-label {
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
    text-align: left;
}

.required::after {
    content: " *";
    color: red;
    font-weight: bold;
}

.form-control {
    height: 48px;
    border-radius: 10px !important;
    border: 1px solid #d3d3d3;
    font-size: 1rem;
    transition: 0.2s;
}

    .form-control:focus {
        border-color: #1363DF;
        box-shadow: 0 0 4px rgba(19, 99, 223, 0.4);
    }

.input-group-text {
    border-radius: 10px;
    font-weight: 600;
}

.btn-outline-primary {
    border-radius: 30px !important;
    padding: 8px 20px;
    font-size: 0.95rem;
}

.btn-check:checked + .btn-outline-primary {
    background-color: #1363DF;
    color: #fff;
    border-color: #1363DF;
}

.upload-btn {
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 1rem;
}



/* Slider */
input[type="range"] {
    height: 10px;
    border-radius: 5px;
    background: #ccc;
}

    input[type="range"]::-webkit-slider-thumb {
        width: 20px;
        height: 20px;
        background: #1363DF;
        border-radius: 50%;
        border: 2px solid #fff;
        cursor: pointer;
    }

.section-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0px 2px 10px rgba(0,0,0,0.08);
}


.nav-button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 12px;
    border-radius: 2px;
    font-size: 14px;
    line-height: 1;
}

.icon-button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    border-radius: 2px;
    font-size: 10px;
}

.form-group {
    margin-bottom: 15px;
    padding: 20px;
}

label {
    font-family: sans-serif;
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 8px;
    display: block;
}

.required::after {
    content: " *";
    color: red;
}

.vehicle-buttons {
    display: flex;
    gap: 5px;
    justify-content: center;
    align-items: center;
}

.vehicle-btn {
    padding: 8px 16px;
    border: 2px solid #667eea;
    background: white;
    color: #667eea;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.5s ease;
    font-family: sans-serif;
    font-size: 16px;
    font-weight: 500;
}

    .vehicle-btn:hover {
        background: #667eea;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    }

    .vehicle-btn.active {
        background: #667eea;
        color: white;
    }

.input-group {
    display: flex;
    align-items: center;
    border: 2px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

    .input-group:focus-within {
        border-color: #667eea;
    }

input[type="number"] {
    flex: 1;
    padding: 12px;
    border: none;
    outline: none;
    font-size: 16px;
    text-align: center;
}

.unit {
    padding: 12px 20px;
    background: #f5f5f5;
    color: #666;
    font-family: sans-serif;
    font-weight: 600;
}

.visualization-container {
    position: relative;
    height: 300px;
    width: 100%;
    background: linear-gradient(to bottom, #87ceeb 0%, #e0f6ff 100%);
    border-radius: 15px;
    border-bottom: black 2px solid;
    overflow: hidden;
    margin: 20px 0;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
}

#water-level {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    opacity: 0.8;
    background: linear-gradient(to top, #1e90ff, #4dabf7, #74c0fc);
    transition: height 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
    z-index: 4;
}

    #water-level::before {
        content: '';
        position: absolute;
        top: -10px;
        left: -100%;
        width: 300%;
        height: 20px;
        background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
        animation: wave 3s ease-in-out infinite;
    }

@keyframes wave {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }

    50% {
        transform: translateX(-33.33%) translateY(-5px);
    }
}

#vehicle-image {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 95%;
    z-index: 2;
    transition: all 0.5s ease;
    mix-blend-mode: multiply;
}

input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: linear-gradient(to right, #2ecc71 0%, #f39c12 50%, #e74c3c 100%);
    outline: none;
    -webkit-appearance: none;
}

    input[type="range"]::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: white;
        cursor: pointer;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
        transition: all 0.3s ease;
    }

        input[type="range"]::-webkit-slider-thumb:hover {
            transform: scale(1.2);
            box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
        }

    input[type="range"]::-moz-range-thumb {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: white;
        cursor: pointer;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
        border: none;
    }

.depth-display {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    color: white;
    border-radius: 20px;
    font-family: sans-serif;
    font-weight: 600;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
}
