:root {
    --wido-primary: #0056b3;
    --wido-secondary: #6c757d;
    --wido-success: #28a745;
    --wido-danger: #dc3545;
    --wido-bg: #f8f9fa;
    --wido-border: #dee2e6;
    --wido-text: #212529;
    --wido-white: #ffffff;
}

.wido-app-container {
    color: var(--wido-text);
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: var(--wido-bg);
}

/* Package Selection */
.wido-app-container .wido-package-grid{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.wido-app-container .wido-package-card{
    background: var(--wido-white);
    border: 1px solid var(--wido-border);
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.wido-app-container .wido-package-card:hover{
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: var(--wido-primary);
}

.wido-app-container .wido-package-card.active{
    border: 2px solid var(--wido-primary);
    background: #e7f1ff;
}

/* Loading Animation & Info */
.wido-app-container .wido-loading-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: var(--wido-white);
    border: 1px solid var(--wido-border);
    border-radius: 8px;
    margin-top: 10px;
}

.wido-app-container .wido-loader{
    width: 48px;
    height: 48px;
    border: 5px solid var(--wido-border);
    border-bottom-color: var(--wido-primary);
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.wido-app-container .wido-info{
    padding: 20px;
    background: #e7f1ff;
    border-radius: 8px;
    color: var(--wido-primary);
    border-left: 4px solid var(--wido-primary);
    margin-top: 10px;
}

.wido-app-container .wido-package-card h3{
    margin: 0 0 10px 0;
    font-size: 1.25rem;
}

.wido-app-container .wido-package-card h4{
    margin: 0 0 10px 0;
    font-size: 1.25rem;
    font-weight: bold;
}

.wido-app-container .wido-duration-selector{
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

.wido-app-container .wido-duration-btn{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #f1f3f5;
    border: 1px solid var(--wido-border);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.wido-app-container .wido-duration-btn:hover{
    background: #e9ecef;
    border-color: var(--wido-primary);
}

.wido-app-container .wido-duration-btn.active{
    background: var(--wido-primary);
    color: var(--wido-white);
    border-color: var(--wido-primary);
}

.wido-app-container .wido-duration-btn .dur{
    font-weight: bold;
}

.wido-app-container .wido-duration-btn .prc{
    opacity: 0.9;
}

/* Calendar Grid */
.wido-app-container .wido-calendar-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    background: var(--wido-white);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--wido-border);
}

.wido-app-container .wido-nav-group{
    display: flex;
    gap: 5px;
}

.wido-app-container .wido-date-controls{
    display: flex;
    align-items: center;
    gap: 10px;
}

.wido-app-container .wido-date-picker-wrapper{
    position: relative;
    display: flex;
    align-items: center;
    background: var(--wido-white);
    padding: 0 10px;
    border-radius: 4px;
    border: 1px solid var(--wido-border);
}

.wido-app-container .wido-date-picker-wrapper svg{
    color: var(--wido-secondary);
    cursor: pointer;
}

.wido-app-container .wido-date-picker-wrapper input#wido-date-picker{
    border: none;
    padding: 9px 5px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    background: transparent;
    cursor: text;
    flex: 1;
    width: 100px;
}

@media (max-width: 600px) {
    .wido-app-container .wido-calendar-header{
        justify-content: center;
        padding: 10px;
    }

    .wido-app-container .wido-date-controls{
        order: -1;
        flex-basis: 100%;
        justify-content: center;
        margin-bottom: 10px;
        flex-wrap: wrap;
    }
    
    .wido-app-container .wido-date-picker-wrapper{
        flex: 1;
        justify-content: center;
        margin-top: 5px;
    }

    .wido-app-container .wido-date-picker-wrapper input{
        font-size: 1.1rem;
        flex-grow: 1;
        max-width: 160px;
        text-align: center;
    }
    
    .wido-app-container .wido-nav-prev{ order: 1; flex: 1; justify-content: flex-end; }
    .wido-app-container .wido-nav-next{ order: 2; flex: 1; justify-content: flex-start; }
}

.wido-app-container .wido-btn{
    padding: 10px 15px;
    border: 1px solid var(--wido-border);
    background: var(--wido-white);
    cursor: pointer;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s;
    color: black;
}

.wido-app-container .wido-btn:hover{
    background: #f1f3f5;
    transform: translateY(-1px);
}

.wido-app-container .wido-btn-primary{
    background: var(--wido-primary);
    color: var(--wido-white);
    border: none;
    box-shadow: 0 4px 6px rgba(0, 86, 179, 0.2);
}

.wido-app-container .wido-btn-primary:hover{
    background: #004494;
    box-shadow: 0 6px 12px rgba(0, 86, 179, 0.3);
}

.wido-app-container .wido-btn-large{
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
}

.wido-app-container .wido-grid{
    display: grid;
    grid-template-columns: 80px repeat(7, 1fr);
    background: var(--wido-white);
    border: 1px solid var(--wido-border);
    border-radius: 8px;
    overflow: hidden;
}

.wido-app-container .wido-grid-header{
    background: #f1f3f5;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    border-bottom: 2px solid var(--wido-border);
    border-right: 1px solid var(--wido-border);
    font-size: .9rem;
}

.wido-app-container .wido-time-col{
    background: #f8f9fa;
    border-right: 2px solid var(--wido-border);
    font-size: 0.8rem;
    text-align: center;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--wido-border);
}

.wido-app-container .wido-slot{
    position: relative;
    border-right: 1px solid var(--wido-border);
    border-bottom: 1px solid var(--wido-border);
    height: 40px;
    cursor: pointer;
    transition: background 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wido-app-container .wido-slot:hover:not(.disabled){
    background: #e7f1ff;
    outline: 2px dashed var(--wido-primary);
    outline-offset: -2px;
    z-index: 1;
}

.wido-app-container .wido-slot.busy{
    background: #ffe3e3;
    cursor: not-allowed;
}

.wido-app-container .wido-slot.disabled{
    background: #e9ecef;
    background-image: linear-gradient(45deg, #f1f3f5 25%, transparent 25%, transparent 50%, #f1f3f5 50%, #f1f3f5 75%, transparent 75%, transparent);
    background-size: 10px 10px;
    cursor: not-allowed;
    opacity: 0.8;
}

.wido-app-container .wido-slot.available{
    background: #e3f9e5;
}

.wido-app-container .wido-slot.partly{
    background: #fff3cd; /* Yellow for partly booked */
}

.wido-app-container .wido-slot.selected{
    border: 3px solid var(--wido-primary) !important;
    background: rgba(0, 86, 179, 0.1) !important;
    box-shadow: 0 0 12px rgba(0, 86, 179, 0.5);
    z-index: 2;
    transform: scale(1.05);
    transition: all 0.1s ease-out;
}

.wido-app-container .selection-badge{
    background: #fff;
    color: var(--wido-primary);
    border: 2px solid var(--wido-primary);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.wido-app-container .wido-price-float{
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    background: #28a745; /* Green for price sounds good */
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 10;
    pointer-events: none;
    animation: wido-fade-in-up 0.2s ease-out;
}

.wido-app-container .wido-price-float::after{
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #28a745;
}

.wido-app-container .wido-error-float{
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--wido-danger);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 10;
    pointer-events: none;
    animation: wido-fade-in-up 0.2s ease-out;
}

.wido-app-container .wido-error-float::after{
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid var(--wido-danger);
}

@keyframes wido-fade-in-up {
    from { opacity: 0; transform: translate(-50%, 5px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

/* Tooltip */
.wido-tooltip,
.wido-app-container .wido-tooltip{
    position: fixed;
    background: #32373c;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 10000;
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.1s;
    white-space: nowrap;
}

.wido-tooltip.visible,
.wido-app-container .wido-tooltip.visible{
    opacity: 1;
}

/* Icons */
.wido-app-container .wido-icon{
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* Summary & Form */
.wido-app-container .wido-summary{
    background: #e7f1ff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 5px solid var(--wido-primary);
}

.wido-app-container .wido-summary-item{
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.wido-app-container .wido-form{
    background: transparent;
    padding: 0;
    border: none;
    max-width: 800px;
    margin: 0 auto;
}

.wido-app-container .wido-form-section{
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.wido-app-container .wido-form-header{
    color: var(--wido-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 30px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f3f5;
}

.wido-app-container .wido-form-row{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 5px;
}

.wido-app-container .wido-row-70-30{
    grid-template-columns: 2.5fr 1fr;
}

.wido-app-container .wido-row-30-70{
    grid-template-columns: 1fr 2.5fr;
}

.wido-app-container .wido-form-group{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.wido-app-container .wido-form-group label{
    font-weight: 600;
    color: #343a40;
    font-size: 0.95rem;
    display: block;
}

.wido-app-container .wido-radio-group{
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    padding: 5px 0;
}

.wido-app-container .wido-radio-group label{
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    white-space: nowrap;
}

.wido-app-container .wido-radio-group input[type="radio"]{
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #dee2e6;
    border-radius: 50%;
    margin: 0;
    position: relative;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
    padding: 10px;
}

.wido-app-container .wido-radio-group input[type="radio"]:checked{
    border-color: var(--wido-primary);
}

.wido-app-container .wido-radio-group input[type="radio"]:checked::after{
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--wido-primary);
    border-radius: 50%;
}

.wido-app-container .wido-input-with-icon{
    position: relative;
    display: flex;
    align-items: center;
}

.wido-app-container .wido-input-with-icon input{
    width: 100%;
    padding-right: 45px !important;
}

.wido-app-container .wido-input-with-icon .wido-icon{
    position: absolute;
    right: 15px;
    color: #adb5bd;
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.wido-app-container .wido-form-group input, 
.wido-app-container .wido-form-group select,
.wido-app-container .wido-form-group textarea{
    width: 100%;
    padding: 13px 18px;
    border: 1.5px solid #dee2e6;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.2s;
    background: #fdfdfd;
    box-sizing: border-box;
}

.wido-app-container .wido-form-group input::placeholder{
    color: #adb5bd;
}

.wido-app-container .wido-form-group input:focus,
.wido-app-container .wido-form-group select:focus,
.wido-app-container .wido-form-group textarea:focus{
    border-color: var(--wido-primary);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.08);
}

.wido-app-container .wido-checkbox-group label{
    font-weight: 500;
    line-height: 1.5;
    color: #495057;
}

.wido-app-container .wido-form-footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}
.wido-app-container .wido-form-group.wido-checkbox-group input{
  width: 20px;
  padding: 10px;
  margin: 0px;
  height: 20px;
  float: left;
  margin: 0 3px 3px 0;
}

.wido-app-container .wido-btn-large{
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
}

.wido-app-container .wido-success{
    text-align: center;
    padding: 50px;
    background: #e3f9e5;
    border-radius: 8px;
    border: 2px solid #b2f2bb;
}

.wido-app-container .wido-success svg{
    width: 64px;
    height: 64px;
    color: #2b8a3e;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .wido-app-container .wido-form-row{
        grid-template-columns: 1fr;
    }
}

