/* Close button hover and icon */
.trf-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: transparent;
    border: none;
    font-size: 26px;
    color: #333;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.2s;
    line-height: 1;
}
.trf-close:hover {
    color: #1976d2;
    background: #f2f6fa;
    border-radius: 50%;
}

/* Overlay cursor for closing */
.trf-overlay {
    cursor: pointer;
}

/* Modern form design */
.trf-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.trf-row {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 0;
}
.trf-row-top {
    margin-bottom: 18px;
}
.trf-label {
    margin-bottom: 0;
    font-size: 15px;
    font-weight: 500;
    color: #1976d2;
    margin-bottom: 4px;
}
.trf-required {
    color: #e74c3c;
    margin-left: 2px;
}
.trf-input-flex {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.trf-input {
    padding: 10px 12px;
    border: 1px solid #dbe6ee;
    border-radius: 6px;
    font-size: 15px;
    background: #f8fbfd;
    width: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.trf-input:focus {
    border-color: #1976d2;
    box-shadow: 0 0 0 2px #e3f0fc;
    outline: none;
}
.trf-input-readonly {
    background: #f0f4f8;
    color: #888;
}
.trf-textarea {
    padding: 10px 12px;
    border: 1px solid #dbe6ee;
    border-radius: 6px;
    font-size: 15px;
    background: #f8fbfd;
    width: 100%;
    min-height: 60px;
    resize: vertical;
    margin-bottom: 8px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.trf-textarea:focus {
    border-color: #1976d2;
    box-shadow: 0 0 0 2px #e3f0fc;
    outline: none;
}
.trf-submit {
    background: #1976d2;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-top: 8px;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.08);
    transition: background 0.2s;
}
.trf-submit:hover {
    background: #115293;
}
.trf-response {
    margin-top: 12px;
    font-size: 14px;
    color: #e74c3c;
}
/* Modal overlay for request candidate popup */
.trf-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
}

/* Close button for request candidate popup */
.trf-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    z-index: 10000;
}
/* Modal container for request candidate popup */
.trf-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    border-radius: 8px;
    z-index: 9999;
    width: 80vw;
    max-width: 420px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 32px 24px 24px 24px;
}
/* Talent Search Request Popup Custom Styles */
.tsr-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
}
.tsr-popup-request {
    /* Container for the popup */
}
.tsr-popup-close {
    /* Close button */
}
.tsr-popup-header {
    margin-bottom:0.5em;
}
.tsr-popup-title {
    font-size:1.1em;
    font-weight:500;
    color:#222;
    line-height:1.2;
    margin-bottom:0.2em;
}
.tsr-request-form {
    max-height:60vh;
    overflow-y:auto;
    padding-right:8px;
    overflow-x:hidden;
}
.tsr-form-row {
    display:flex;
    gap:1em;
    margin-bottom:0.7em;
}
.tsr-form-row.tsr-row-top {
    margin-top:1.2em;
}
.tsr-form-label {
    font-size:0.97em;
    margin-bottom:0.2em;
    display:block;
}
.tsr-required {
    color:#1976d2;
}
.tsr-form-input {
    width:100%;
    padding:0.45em 0.7em;
    border:1px solid #ccc;
    border-radius:6px;
    font-size:1em;
}
.tsr-form-input-flex {
    flex:1;
    min-width:0;
}
.tsr-form-input-readonly {
    background:#f9f9f9;
    color:#888;
}
.tsr-form-textarea {
    width:100%;
    min-height:60px;
    resize:vertical;
    padding:0.45em 0.7em;
    border:1px solid #ccc;
    border-radius:6px;
    font-size:1em;
}
.tsr-form-submit {
    background:#1976d2;
    color:#fff;
    border:none;
    border-radius:6px;
    padding:0.5em 1.2em;
    font-size:1em;
    font-weight:500;
    cursor:pointer;
    text-align:right;
}
.tsr-request-response {}

/* Add two-column layout for label/input */
.trf-label-col {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding-right: 12px;
    min-width: 120px;
}
.trf-input-col {
    flex: 2;
    display: flex;
    align-items: flex-start;
}
.trf-textarea {
    width: 100%;
}
