.int-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    font-family: "Inter", sans-serif;
}

.int-modal-box {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 1.5rem;
    width: 100%;
    max-width: 24rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    animation: intFadeIn 0.2s ease-out;
}

@keyframes intFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.int-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    transition: all 0.2s;
}
.int-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.int-modal-title {
    font-size: 1.125rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 0.25rem;
    margin-top: 0;
}
.int-modal-subtitle {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 1.25rem;
}

.int-form-group {
    margin-bottom: 1rem;
}
.int-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.5rem;
}

.int-select,
.int-textarea {
    width: 100%;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.75rem;
    font-size: 0.875rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.int-select:focus,
.int-textarea:focus {
    border-color: #06bbcc;
}
.int-textarea {
    resize: vertical;
    min-height: 80px;
}

/* Star Rating */
.int-stars {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.25rem;
    flex-direction: row-reverse; /* For CSS sibling selection */
}
.int-star-input {
    display: none;
}
.int-star-label {
    cursor: pointer;
    color: #e2e8f0;
    transition: color 0.2s;
}
.int-star-label svg {
    width: 2.5rem;
    height: 2.5rem;
    fill: currentColor;
}
.int-star-input:checked ~ .int-star-label,
.int-star-label:hover,
.int-star-label:hover ~ .int-star-label {
    color: #f59e0b;
}

.int-btn-submit {
    width: 100%;
    background: linear-gradient(to right, #06bbcc, #0597a7);
    color: white;
    border: none;
    padding: 0.875rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: opacity 0.2s;
}
.int-btn-submit:hover {
    opacity: 0.9;
}
.int-btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Toast Notification */
.int-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 99px;
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 10000;
    display: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
