.schedule-call-widget {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(22, 82, 0, 0.08);
    padding: 30px;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    max-width: 550px;
    margin: 0 auto;
    box-sizing: border-box;
    border: 1px solid #eaf2e8;
}

.schedule-call-widget * {
    box-sizing: border-box;
}

.widget-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #165200;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

/* Steps progress bar */
.steps-progress-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 30px;
    /*padding: 0 10px;*/
}

.step-bar {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #e2e8f0;
    transform: translateY(-50%);
    z-index: 1;
}

.step-indicator {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid #cbd5e1;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.step-indicator.active {
    color: #fff;
    border-color: #165200;
    background-color: #165200;
}

.step-indicator.completed {
    color: #fff;
    border-color: #10b981;
    background-color: #10b981;
}

/* Headers */
.step-header {
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 12px;
}

.step-title-text {
    font-size: 16px;
    font-weight: 600;
    color: #334155;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

/* Step contents */
.step-content {
    display: none;
}

.step-content.active {
    display: block;
}

/* Calendar */
.calendar-wrapper {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.calendar-header {
    background-color: #f8fafc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    font-weight: bold;
    border-bottom: 1px solid #e2e8f0;
}

.calendar-nav-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 2px 10px;
    color: #475569;
    outline: none;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    padding: 8px 0;
    background-color: #f1f5f9;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 5px;
    gap: 5px;
}

.calendar-day {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s;
    color: #334155;
}

.calendar-day.disabled {
    color: #cbd5e1;
    cursor: not-allowed;
    background-color: #f8fafc;
}

.calendar-day.weekend {
    color: #94a3b8;
}

.calendar-day:not(.disabled):hover {
    background-color: #eff6f0;
    color: #165200;
}

.calendar-day.selected {
    background-color: #165200 !important;
    color: #ffffff !important;
    font-weight: bold;
}

/* Inputs and Forms */
.form-group {
    margin-bottom: 18px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.col-half {
    flex: 1;
}

.input-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.required {
    color: #ef4444;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
    color: #1e293b;
    outline: none;
    transition: border-color 0.2s;
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}

.form-control:focus {
    border-color: #165200;
    box-shadow: 0 0 0 3px rgba(22, 82, 0, 0.1);
}

/* Slots */
.slots-container-label {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 10px;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.slot-btn {
    padding: 10px;
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
    font-weight: 500;
    color: #334155;
}

.slot-btn:hover {
    border-color: #165200;
    background: #eff6f0;
    color: #165200;
}

.slot-btn.selected {
    background-color: #165200;
    color: white;
    border-color: #165200;
}

/* Actions styling */
.step-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 25px;
}

.btn-next, .btn-submit {
    flex-grow: 1;
    background-color: #165200;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-next:disabled {
    background-color: #a3c299;
    cursor: not-allowed;
}

.btn-next:not(:disabled):hover, .btn-submit:hover {
    background-color: #0f3d00;
}

.btn-prev {
    background-color: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.btn-prev:hover {
    background-color: #e2e8f0;
}

/* Success display */
.success-screen {
    display: none;
    text-align: center;
    padding: 20px 0;
}

.success-icon-wrapper {
    width: 65px;
    height: 65px;
    margin: 0 auto 20px;
}

.success-checkmark-svg {
    stroke: #10b981;
    stroke-width: 3;
    stroke-miterlimit: 10;
    fill: none;
    animation: success-draw 0.5s ease-out forwards;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke: #10b981;
    animation: success-stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: success-stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

.summary-card {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    text-align: left;
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}

@keyframes success-stroke {
    100% { stroke-dashoffset: 0; }
}

@keyframes success-draw {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

@media (max-width: 480px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .slots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
