/* MODAL OVERLAY */
.feedback-modal{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(15, 23, 42, 0.6);
backdrop-filter:blur(8px);
justify-content:center;
align-items:center;
z-index:9999;
padding:20px;
box-sizing: border-box;
}

/* POPUP BOX */
.feedback-box{
background:white;
width:100%;
max-width:480px;
max-height:90vh;
overflow:auto;
border-radius:24px;
padding:35px;
box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
animation:popup 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
position: relative;
box-sizing: border-box;
line-height: 1.5;
font-family: inherit;
}

@keyframes popup{
from{transform:scale(.9);opacity:0}
to{transform:scale(1);opacity:1}
}

/* HEADER */
.feedback-box h3{
margin:0 0 20px 0;
font-size:22px;
color:#1e3a8a;
display:flex;
align-items:center;
gap:10px;
font-weight: 700;
}

/* CLOSE ICON */
.feedback-close-x {
position: absolute;
top: 20px;
right: 20px;
background: none;
border: none;
font-size: 22px;
color: #9ca3af;
cursor: pointer;
transition: 0.2s ease;
padding: 5px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
}
.feedback-close-x:hover {
color: #ef4444;
background: #fee2e2;
transform: scale(1.1);
}

/* LABEL */
.feedback-box label{
font-weight:600;
font-size:14px;
margin-top:16px;
display:block;
color:#4b5563;
}

/* INPUTS */
.feedback-box input,
.feedback-box textarea,
.feedback-box select{
width:100%;
padding:12px 14px;
margin-top:8px;
border-radius:12px;
border:1px solid #d1d5db;
font-size:15px;
background:#f9fafb;
transition:all 0.3s ease;
box-sizing: border-box;
font-family: inherit;
color: #1f2937;
}

.feedback-box input:focus,
.feedback-box textarea:focus,
.feedback-box select:focus{
outline:none;
border-color:#3b82f6;
background:white;
box-shadow:0 0 0 4px rgba(59,130,246,0.15);
}

.feedback-box textarea{
min-height:120px;
resize:vertical;
}

/* STAR RATING */
.star-rating{
font-size:32px;
color:#e5e7eb;
margin-top:8px;
cursor:pointer;
display: flex;
gap: 5px;
}

.star{
transition:all 0.2s ease;
}

.star:hover,
.star.active{
color:#fbbf24;
transform:scale(1.2);
}

/* ACTION BUTTONS */
.feedback-actions{
display:flex;
justify-content:space-between;
margin-top:30px;
gap:15px;
}

.feedback-actions button{
flex:1;
padding:14px;
border-radius:14px;
border:none;
font-size:15px;
font-weight: 600;
cursor:pointer;
transition:all 0.3s ease;
display: flex;
justify-content: center;
align-items: center;
gap: 8px;
}

.feedback-actions button:first-child{
background:#f3f4f6;
color: #4b5563;
}

.feedback-actions button:first-child:hover{
background:#e5e7eb;
color: #1f2937;
}

.feedback-actions button:last-child{
background:linear-gradient(135deg, #3b82f6, #2563eb);
color:white;
box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.feedback-actions button:last-child:hover{
background:linear-gradient(135deg, #2563eb, #1d4ed8);
box-shadow: 0 6px 15px rgba(37, 99, 235, 0.3);
transform: translateY(-2px);
}

.feedback-actions button:last-child:active{
transform: translateY(0);
}

/* FLOATING BUTTON */
.feedback-floating-btn {
position: fixed;
bottom: 30px;
right: 30px;
background: linear-gradient(135deg, #3b82f6, #2563eb);
color: white;
border: none;
border-radius: 50px;
padding: 16px 28px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
display: flex;
align-items: center;
gap: 10px;
z-index: 9000;
transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
font-family: inherit;
}

.feedback-floating-btn:hover {
transform: translateY(-6px) scale(1.02);
box-shadow: 0 15px 35px rgba(37, 99, 235, 0.45);
background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.feedback-floating-btn:active {
transform: translateY(0) scale(0.98);
}

/* RESPONSIVE CSS */
@media(max-width: 768px) {
.feedback-floating-btn {
    bottom: 20px;
    right: 20px;
    padding: 14px 20px;
    font-size: 14px;
}
.feedback-box {
    padding: 25px 20px;
}
.feedback-actions {
    flex-direction: column;
    gap: 10px;
}
.feedback-actions button {
    width: 100%;
}
}