/* Resume Feedback Popup Styles */
/* Popup appears at bottom of viewport after resume download */

#resume-feedback-popup {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
    width: 320px;
    padding: 32px 20px 16px 20px;
    font-family: inherit;
}

#resume-feedback-popup h3 {
    margin-top: 0;
    font-size: 1.1em;
    margin-bottom: 12px;
    padding-top: 18px;
}

.resume-feedback-rating {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    justify-content: flex-start;
    max-width: 100%;
}

.resume-feedback-rating button {
    background: #e0e0e0;
    border: none;
    border-radius: 6px !important;
    width: 49px;
    height: 32px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.2s;
    aspect-ratio: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0;
}

.resume-feedback-rating button.selected,
.resume-feedback-rating button:hover {
    background: #204f70;
    color: #fff;
}

#resume-feedback-text {
    width: 100%;
    min-height: 60px;
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 8px;
    margin-bottom: 12px;
    resize: vertical;
    font-family: inherit;
    font-size: 1em;
    box-sizing: border-box;
}

#resume-feedback-close {
    position: absolute;
    right: 20px;
    top: 10px;
    background: none;
    border: none;
    font-size: 1.6em;
    color: #161616;
    cursor: pointer;
    z-index: 2;
    padding: 0;
    margin: 0;
}

#resume-feedback-submit {
    width: 100%;
    background: #204f70;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 0;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

#resume-feedback-submit:hover {
    background: #163d57;
}

#resume-feedback-submit:disabled {
    background: #cccccc;
    color: #666666;
    cursor: not-allowed;
}

#resume-feedback-submit:disabled:hover {
    background: #cccccc;
}

.resume-feedback-rating-labels {
    display: flex;
    justify-content: space-between;
    margin-top: -4px;
    margin-bottom: 12px;
    font-size: 0.95em;
    color: #666;
    width: 100%;
}

.resume-feedback-rating-labels span:first-child {
    display: inline-block;
    min-width: 48px;
    text-align: left;
    padding-left: 0px;
}

.resume-feedback-rating-labels span:last-child {
    display: inline-block;
    min-width: 48px;
    text-align: right;
    padding-right: 0px;
}

.resume-feedback-rating-labels span:nth-child(2) {
    flex: 1;
}

.resume-feedback-text-label {
    font-size: 0.98em;
    color: #444;
    margin-bottom: 4px;
    font-weight: 500;
}

/* Mobile responsive adjustments */
@media (max-width: 480px) {
    #resume-feedback-popup {
        width: calc(100vw - 40px);
        left: 50%;
        transform: translateX(-50%);
        bottom: 10px;
    }
    
    .resume-feedback-rating {
        justify-content: center;
    }
}