.simple-callback-container {
    max-width: 500px;
    margin: 20px auto;
    padding: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    text-align: center;
    font-family: 'Lato', sans-serif;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.simple-callback-container * {
    text-align: center;
}

.simple-callback-container h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

.callback-message {
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.5;
    color: #666;
    padding: 0 10px;
    text-align: center;
}

.phone-input-group {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 20px auto;
    border: 2px solid #0073aa;
    border-radius: 8px;
    padding: 0;
    background: white;
    transition: border-color 0.3s ease;
    width: 100%;
    max-width: 350px;
    position: relative;
}

.phone-input-group:focus-within {
    border-color: #005a87;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.phone-number {
    border: none!important;
    outline: none;
    font-size: 16px;
    padding: 10px;
    background: transparent;
    color: #333;
    font-weight: 500;
    width: 100%;
    text-align: center;
    font-family: 'Lato', sans-serif;
    flex: 1;
    min-width: 0;
    border-radius: 8px;
}

.phone-number::placeholder {
    color: #999;
    font-weight: normal;
}

/* Time selection styles */
.time-selection-section {
    margin: 15px 0;
}

.time-selection-toggle {
    margin: 10px 0;
}

.time-toggle-link {
    color: #0073aa;
    font-weight: bold;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.time-toggle-link:hover {
    color: #005a87;
    text-decoration: underline;
}

.time-picker {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-top: 15px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.time-picker-header {
    margin-bottom: 15px;
}

.time-picker-day {
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.time-slots-container {
    max-height: 200px;
    overflow-y: auto;
    border-radius: 6px;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 8px;
    padding: 10px 0;
}

.time-slot {
    background: white;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    padding: 8px 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    transition: all 0.2s ease;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.time-slot:hover {
    background: #e6f3ff;
    border-color: #0073aa;
    color: #0073aa;
}

.time-slot.selected {
    background: #0073aa;
    border-color: #0073aa;
    color: white;
    font-weight: 600;
}

.time-slot.disabled {
    background: #f5f5f5;
    border-color: #e0e0e0;
    color: #999;
    cursor: not-allowed;
}

.time-slot.disabled:hover {
    background: #f5f5f5;
    border-color: #e0e0e0;
    color: #999;
}

.submit-btn {
    background-color: #00539F;
    color: #FFFFFF;
    fill: #FFFFFF;
    border-style: solid;
    border-width: 2px;
    border-color: #00539F;
    border-radius: 25px;
    padding: 12px 15px 10px 15px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 20px;
    transition: all 0.3s ease;
    min-width: auto;
    letter-spacing: 0.5px;
    font-family: var(--global-typography-accent-font-family), sans-serif;
    outline: none;
}

.submit-btn:hover {
    background-color: #FECC4E;
    border-color: #FECC4E;
    color: #000000;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 83, 159, 0.3);
}

.submit-btn:focus {
	color: #000000;
    outline: none;
    background-color: #FECC4E;
    border-color: #FECC4E;
    box-shadow: 0 0 0 3px rgba(0, 83, 159, 0.2);
}

.submit-btn:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    background: #f5f5f5;
    color: #999;
    border-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.error-message {
    font-size: 14px;
    font-weight: 500;
    margin-top: 10px;
    padding: 12px;
    border-radius: 8px;
    background-color: #fee;
    color: #721c24;
    text-align: center;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}

.success-message {
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    text-align: center;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.15);
}

.consent-text {
    font-size: 11px;
    color: #777;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    line-height: 1.4;
    text-align: center;
}

@media (max-width: 600px) {
    .simple-callback-container {
        margin: 10px;
        padding: 20px 15px;
        border-radius: 8px;
        width: calc(100% - 20px);
        box-sizing: border-box;
    }
    
    .simple-callback-container h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .callback-message {
        font-size: 15px;
        margin-bottom: 20px;
        padding: 0 5px;
    }
    
    .phone-input-group {
        max-width: 100%;
        margin: 15px 0;
    }
    
    .phone-number {
        padding: 12px;
        font-size: 15px;
    }
    
    .time-picker {
        padding: 15px;
    }
    
    .time-slots {
        grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
        gap: 6px;
    }
    
    .time-slot {
        padding: 6px 4px;
        font-size: 12px;
        min-height: 28px;
    }
    
    .submit-btn {
        padding: 12px 25px;
        font-size: 12px;
        min-width: 150px;
        margin-top: 15px;
    }
    
    .error-message,
    .success-message {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        font-size: 13px;
    }
    
    .consent-text {
        font-size: 10px;
        margin-top: 20px;
        padding-top: 15px;
    }
}

.error-message[style*="block"],
.success-message[style*="block"] {
    animation: slideIn 0.3s ease-out;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .phone-number {
        font-size: 16px;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}