@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');
.piero-scheduler-form {
    background: #f1f3f5;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    margin: 20px 0 0 0;
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: 14px;
    color: #1a1a1a;
    position: relative;
    animation: fadeIn 0.5s ease-out;
    max-width: 100%;
    border: 1px solid #e2e6ea;
}
.piero-scheduler-form h2 {
    margin: 0 0 8px 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: #4b5563;
    letter-spacing: -0.1px;
    text-align: left;
}
.piero-scheduler-form p {
    margin: 0 0 10px 0;
    line-height: 1.5;
    color: #6b7280;
    font-size: 13px;
    text-align: left;
}
.piero-scheduler-form label {
    font-weight: 500;
    margin-bottom: 4px;
    font-size: 13px;
    display: block;
    color: #4b5563;
    letter-spacing: 0.01em;
    text-align: left;
    transition: color 0.2s ease;
}
.piero-scheduler-form input,
.piero-scheduler-form select,
.piero-scheduler-form textarea {
    width: 100%;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background: #f9fafb;
    margin-bottom: 0;
    font-size: 13px;
    font-weight: 400;
    color: #1a1a1a;
    box-sizing: border-box;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    height: 36px;
    line-height: 1;
    display: flex;
    align-items: center;
}
.piero-scheduler-form select {
    appearance: none;
    background: #f9fafb url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCIgdmlld0JveD0iMCAwIDEwIDEwIj48cGF0aCBkPSJNMiA0TDUgOEw5IDQiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzZiNzI4MCIgc3Ryb2tlLXdpZHRoPSIxLjUiLz48L3N2Zz4=') no-repeat right 10px center;
    background-size: 10px;
    padding-right: 28px;
    height: 36px;
    line-height: 1;
    display: flex;
    align-items: center;
}
.piero-scheduler-form textarea {
    min-height: 60px;
    height: 60px;
    resize: vertical;
    line-height: 1.4;
}
.piero-scheduler-form input:focus,
.piero-scheduler-form select:focus,
.piero-scheduler-form textarea:focus {
    outline: none;
    border-color: #6b7280;
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(107, 114, 128, 0.1);
}
.piero-scheduler-form .piero-privacy-field {
    margin: 15px 0 10px 0;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e2e6ea;
}
.piero-scheduler-form .piero-privacy-label {
    display: flex !important;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    margin-bottom: 0 !important;
    font-size: 12px;
    line-height: 1.4;
}
.piero-scheduler-form .piero-privacy-label input[type="checkbox"] {
    width: auto !important;
    height: auto !important;
    margin: 0;
    flex-shrink: 0;
    margin-top: 2px;
}
.piero-scheduler-form .piero-privacy-text {
    color: #5a626e;
    font-size: 12px;
    line-height: 1.4;
}
.piero-scheduler-form button[type="submit"],
.piero-scheduler-form .piero-step-buttons button {
    width: 100%;
    background: #6b7280;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    box-shadow: 0 3px 8px rgba(107, 114, 128, 0.15);
    transition: all 0.2s ease;
    text-align: center;
    margin-bottom: 0.5rem;
}
.piero-scheduler-form button[type="submit"]:hover,
.piero-scheduler-form .piero-step-buttons button:hover {
    background: #5a626e;
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.2);
    transform: translateY(-1px);
}
.piero-scheduler-form button[type="submit"]:active,
.piero-scheduler-form .piero-step-buttons button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(107, 114, 128, 0.1);
}
.piero-scheduler-form button[type="submit"]:disabled,
.piero-scheduler-form .piero-step-buttons button:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 4px rgba(156, 163, 175, 0.1);
}
.piero-scheduler-form .piero-error,
.piero-scheduler-form div[id*="piero_error"] {
    color: #ef4444;
    font-size: 12px;
    margin-bottom: 6px;
    background: rgba(239, 68, 68, 0.05);
    padding: 5px 8px;
    border-radius: 5px;
    font-weight: 500;
    text-align: left;
    display: block;
    border-left: 3px solid #ef4444;
}
.piero-scheduler-credit {
    text-align: right;
    color: #9ca3af;
    font-size: 11px;
    margin: 6px 0 0 0;
    font-family: 'Poppins', system-ui, sans-serif;
    user-select: none;
    letter-spacing: 0.04em;
    position: relative;
    opacity: 0.8;
}
.piero-scheduler-credit::before {
    content: '';
    position: absolute;
    top: -5px;
    right: 0;
    width: 28px;
    height: 1px;
    background: #6b7280;
    opacity: 0.2;
    border-radius: 1px;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Multi-step */
.piero-scheduler-form .piero-step { display: none; }
.piero-scheduler-form .piero-step.active { display: block; animation: fadeIn 0.4s; }
.piero-scheduler-form .piero-step-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 12px;
}
.piero-scheduler-form .piero-step-1 .piero-step-buttons {
    justify-content: flex-end;
}
.piero-scheduler-form .piero-step-2 .piero-step-buttons {
    justify-content: space-between;
}
.piero-scheduler-form .piero-step-3 .piero-step-buttons {
    justify-content: space-between;
}
/* Responsive */
@media (max-width: 768px) {
    .piero-scheduler-form { padding: 12px; margin: 15px 0; }
    .piero-privacy-field { padding: 10px; }
    .piero-privacy-label { font-size: 11px; }
    .piero-scheduler-form .piero-step-buttons { flex-direction: column; gap: 6px; }
}

/* fix mese anno vsisiili */
.flatpickr-months .flatpickr-month {
    height: 70px !important;
}