.estimate-form-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.freight-type-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding: 0.5rem;
}

.freight-type-card {
    background: linear-gradient(145deg, #2B4B80 0%, #1B3058 100%);
    border-radius: 10px;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.freight-type-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff;
    transition: transform 0.3s ease;
}

.freight-type-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    color: #fff;
}

.form-section {
    display: none;
    animation: fadeIn 0.6s ease;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.75rem;
    border-radius: 12px;
    margin-top: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    height: 42px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: -0.75rem;
}

.col {
    flex: 1;
    padding: 0.75rem;
    min-width: 240px;
}

/* Load type styles */
.load-type-selector {
    display: flex;
    gap: 0;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    max-width: 400px;
}

.load-type-btn {
    flex: 1;
    padding: 1.25rem 1rem;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.load-type-btn:first-child {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.load-type-btn h4 {
    font-size: 1rem;
    margin: 0 0 0.2rem 0;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
}

.load-type-btn p {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.load-type-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.load-type-btn.active {
    background: #fff;
}

.load-type-btn.active h4,
.load-type-btn.active p {
    color: #1B3058;
}

/* Courier mode styles */
.courier-mode-selector {
    display: flex;
    gap: 0;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    max-width: 400px;
}

.courier-mode-btn {
    flex: 1;
    padding: 1.25rem 1rem;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.courier-mode-btn:first-child {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.courier-mode-btn h4 {
    font-size: 1rem;
    margin: 0 0 0.2rem 0;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
}

.courier-mode-btn p {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.courier-mode-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.courier-mode-btn.active {
    background: #fff;
}

.courier-mode-btn.active h4,
.courier-mode-btn.active p {
    color: #1B3058;
}

/* Commodity selectors */
.commodity-selectors {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.commodity-selectors .select-container {
    flex: 1;
    min-width: 180px;
    margin-bottom: 0;
}

.select-container {
    position: relative;
    margin-bottom: 1.25rem;
}

.select-container label {
    display: block;
    margin-bottom: 0.4rem;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
}

.select-container select {
    width: 100%;
    padding: 0.75rem 2rem 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.9rem;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 42px;
}

.btn-submit {
    background: linear-gradient(145deg, #FF4A17 0%, #E63700 100%);
    color: white;
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    max-width: 300px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .freight-type-selector {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .estimate-form-container {
        padding: 1.5rem;
    }
    
    .form-section {
        padding: 1.25rem;
    }
    
    .commodity-selectors {
        flex-direction: column;
    }
    
    .commodity-selectors .select-container {
        width: 100%;
    }
    
    .load-type-selector,
    .courier-mode-selector {
        flex-direction: row;
        max-width: 100%;
    }
    
    .load-type-btn,
    .courier-mode-btn {
        padding: 1rem 0.75rem;
    }
    
    .btn-submit {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .freight-type-selector {
        grid-template-columns: 1fr;
    }
    
    .freight-type-card {
        padding: 1.25rem 1rem;
    }
}

/* Custom scrollbar */
.form-section::-webkit-scrollbar {
    width: 8px;
}

.form-section::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.form-section::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.form-section::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
