﻿body {
    background: linear-gradient(20deg, #012169 19.91%, #00C1D5 100%);
    font-family: 'Roboto','Segoe UI', sans-serif;
    font-size:medium;
}

.first-page-subtitle{
    font-size:20px;
}
.cotizador-container {
    max-width: 77vw;
    min-height: 80vh;
    margin: 0px auto;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 25px 30px;
    margin-top:45px;
    margin-bottom:70px;
    position: relative;
  
}

.cotizador-title {
    font-size: 34px;
    font-weight: 700;
    color: #003b7a;
    margin-bottom: 25px;
}
.footer {
    display: flex;
    justify-content: center;
    position: absolute;
    width: 99vw;
    bottom: 0;
    padding-top: 15px;
    padding-bottom: 15px;
    box-sizing: border-box;
    color: white;
    font-size: medium;
    border-top: 1px solid #ffffff69
}
.logoClass {
    position: absolute;
    top: 0;
    right: 0;
    /*width: 300px !important;
    height: 200px !important;*/
}
#step1 {
    margin-top: 80px;
}

.step {
    display: none;
}

.step.active {
    display: block;
}

.step-circle {
    width: 40px;
    height: 40px;
    background-color: #e0e0e0;
    color: #fff;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cotizador-button {
    width: 230px;
    height: 75px;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    color: #fff;
    transition: background-color 0.3s ease;
}

.btn-vehiculo, .step-circle.active, #prev {
    background-color: #003b7a;
    color: #fff;
}

#send, #next {
    background-color: #ED8A47;
    color: #fff;
}
.btn-incendio {
    background-color: #0047bb;
    color: #fff;
}
    .btn-life {
        background-color: #00c1D5;
        color: #fff;
    }

input[type="radio"] {
    width: 25px;
    height: 25px;
}

    #quit {
    /*background-color: #8B0000;*/
      /*background-color: #1F2937;*/
    
    background-color: #374151;
    color: #FFFFFF;
}

.swal2-confirm{
    background-color: #003b7a;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
}

.swal2-cancel{
    background-color: #9e9e9e;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
}

.select2-results__option[aria-selected="true"] {
    background-color: #003b7a !important;
    color: white !important; 
}

.select2-results__option.select2-results__option--highlighted {
    background-color: #003b7a !important;
    color: white !important;
}



.textQuotes, .textVehicle, .textFire, .textInfo {
    color: #003b7a;
}

.wizard-nav {
    margin-top:5px;
}

.aseguradora-box {
    height: 100px;
    border: 2px solid #ccc;
    border-radius: 8px;
    padding: 8px;
    position: relative;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border 0.3s, background-color 0.3s;
}

.aseguradora-box.selected {
    border-color: #6c63ff;
    background-color: #f4f2ff;
}

.aseguradora-box:hover {
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

.aseguradora-box img {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
}

.check-overlay {
    position: absolute;
    top: 6px;
    right: 6px;
    background-color: #6c63ff;
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 14px;
    display: none;
    align-items: center;
    justify-content: center;
}

.aseguradora-box.selected .check-overlay {
    display: flex;
}

/* Inputs y selects */
input.form-control,
select.form-select {
    font-size: 0.95rem;
}

.select2-selection__arrow{
    margin-right: 10px !important;
}

.select2-selection__clear span{
    right: 5.9px !important;
    top: 0.1px !important;
    position: absolute !important;
}

.bi-exclamation-circle{
    top: 20px !important;
    right: 5px !important;
    font-weight: bolder !important;
}

label span{
    color: darkred;
}



.PC {
    display: initial;
}

.MOVIL {
    display: none;
}



@media (min-width:320px) { /* smartphones, iPhone, portrait 480x320 phones */

    .logoClass {
        padding-bottom: 15px;
        position: initial;
        display:flex;
        justify-content:center;
    }
    .MOVIL {
        display: initial;
    }

    .PC {
        display: none;
    }
}


@media (min-width:481px) { /* portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide. */
    .MOVIL {
        display: initial;
        padding-bottom: 15px;
        display: flex;
        justify-content: center;
    }
    .logoClass {
        padding-bottom: 15px;
        position: initial;
        display: flex;
        justify-content: center;
    }

    .PC {
        display: none;
    }
}

@media (min-width:641px) { /* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */
    .MOVIL {
        display: initial;
   
    }
    .logoClass {
        padding-bottom: 15px;
        position: initial;
        display: flex;
        justify-content: center;
    }

    .PC {
        display: none;
    }
}

@media (min-width:961px) { /* tablet, landscape iPad, lo-res laptops ands desktops */
    .MOVIL {
        display: none;
    }

    .logoClass {
        padding-bottom: 15px;
        position: initial;
        display: flex;
        justify-content: right;
    }
    .PC {
        display: initial;
    }
}

@media (min-width:1025px) { /* big landscape tablets, laptops, and desktops */
    .MOVIL {
        display: none;
    }

    .PC {
        display: initial;
    }
}

@media (min-width:1281px) { /* hi-res laptops and desktops */
    .MOVIL {
        display: none;
    }

    .PC {
        display: initial;
    }
}


.select2-results__option.select2-results__option--selectable.select2-results__option--selected {
    background-color: #003b7a !important;
    color: #fff !important;
}
.select2-results__option{
    font-size:medium !important;
 }
.input.form-control, select.form-select {
    font-size: medium !important;
}
.form-control {
    font-size: medium !important;
}
.radioInputOptions {
    display: flex;
    align-items: center;
    gap: 4px;
}
.GroupInputs {
    display: grid;
    grid-template-columns: 0.35fr 1fr; /* 2 columnas */
    grid-template-rows: auto auto; /* 2 filas */
    grid-column-gap: 5px;
    grid-row-gap: 8px; /* opcional: separación vertical */
}

    .GroupInputs .select2-selection__rendered {
        min-width: 100px !important;
    }

    .GroupInputs .elect2-container--focus .selection select2-selection--clearable .select2-selection__placeholder {
        min-width: 100px !important;
    }

@media (max-width: 500px) {
    .GroupInputs {
        grid-template-columns: 1fr; /* una sola columna */
    }
}