/* Modal Overlay */
.filao-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(8px);
    display: none; justify-content: center; align-items: center;
    z-index: 999999; font-family: 'Inter', sans-serif;
}

/* Modal Content Box */
.filao-modal-content {
    background: #ffffff; width: 90%; max-width: 800px;
    padding: 60px 40px; border-radius: 12px; position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    max-height: 90vh; overflow-y: auto;
}

.filao-close-btn {
    position: absolute; top: 15px; right: 25px;
    background: none; border: none; font-size: 32px;
    cursor: pointer; color: #888; transition: 0.3s;
}
.filao-close-btn:hover { color: #333; }

/* Progress Bar */
.filao-progress-bar {
    width: 100%; height: 6px; background: #eee;
    border-radius: 10px; margin-bottom: 40px; overflow: hidden;
}
.filao-progress-fill {
    height: 100%; background: #F5A623; width: 0%;
    transition: width 0.4s ease-in-out;
}

/* Typography */
.filao-stepper-container h2 {
    font-size: 28px; text-align: center; color: #222; margin-bottom: 10px;
}
.filao-stepper-container p {
    text-align: center; color: #666; margin-bottom: 30px; font-size: 16px;
}

/* Grids */
.filao-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.filao-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.filao-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }

/* Clickable Cards */
.filao-card {
    background: #f4f4f4; padding: 20px 10px; text-align: center;
    border-radius: 6px; cursor: pointer; border: 2px solid transparent;
    transition: all 0.3s ease; font-weight: 600; color: #333;
    display: block; user-select: none;
}
.filao-card input { display: none; }
.filao-card:hover { background: #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.08); }
.filao-card.active {
    background: #fff; border-color: #F5A623;
    box-shadow: 0 8px 20px rgba(245, 166, 35, 0.15); color: #000;
}

/* Inputs & Buttons */
.filao-input-group { display: flex; flex-direction: column; gap: 15px; max-width: 400px; margin: 0 auto 30px auto; }
.filao-input-group input {
    padding: 15px; border: 1px solid #ddd; border-radius: 6px; font-size: 16px; width: 100%;
}
.filao-next-btn, .filao-submit-btn {
    background: #F5A623; color: #fff; border: none; padding: 15px 40px;
    font-size: 16px; font-weight: bold; border-radius: 6px; cursor: pointer;
    display: block; margin: 30px auto 0 auto; transition: 0.3s;
}
.filao-next-btn:hover, .filao-submit-btn:hover { background: #d98d1a; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .filao-grid-4, .filao-grid-3 { grid-template-columns: 1fr 1fr; }
    .filao-modal-content { padding: 40px 20px; }
}
@media (max-width: 480px) {
    .filao-grid-2, .filao-grid-4, .filao-grid-3 { grid-template-columns: 1fr; }
}