.popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.popup-title-text {
  font-family: Ooredoo;
  font-size: 16px;
  font-weight: 900;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.63;
  letter-spacing: normal;
  color: #2d2f39;
}

.filter-rest-button {
  background-color: transparent;
  border: none;
}

.filter-rest-button span {
  font-family: Ooredoo;
  font-size: 13px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #ed1b24;
}

.filter-section-container {
  width: 100%;
  min-height: 100px;
  padding: 19px 38px 25px 24px;
  border-radius: 6px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border: solid 0.5px #e0e0e0;
  background-color: #fff;
  margin-bottom: 20px;
}

.filter-section-container .section-container {
  display: flex;
  align-items: center;
  gap: 11px;
}

.filter-section-container .filter-section-title {
  font-family: Ooredoo;
  font-size: 13px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 2;
  letter-spacing: normal;
  text-align: left;
  color: #727272;
}
.filtering-categories {
  display: flex;
  align-items: center;
  row-gap: 10px;
  flex-wrap: wrap;
}
.category-toggle-element {
  background-color: transparent;
  border: none;
  flex: 1 0 auto;
  overflow: hidden;
}

.category-toggle-element .category-toggle-element-inner {
  position: relative;
  padding: 7px 22px;
  border-radius: 20px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border: solid 0.5px #e0e0e0;
  background-color: #fff;
}

.sort-by-filtering-elements {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-section-title-container {
  margin-bottom: 30px;
}

.category-toggle-element-check-mark {
  width: 16px;
  position: absolute;
  top: 0;
  bottom: 0;
  transform: translate(0, 8px);
}

.category-toggle-element.selected .category-toggle-element-inner {
  border: solid 0.5px transparent;
  background-color: #ffedee;
}

.partner-modal-cover-image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 200px;
}

.partner-modal-content .partner-modal-content-title {
  font-size: 18px;
  font-weight: 300;
  font-stretch: normal;
  font-style: normal;
  line-height: 3.33;
  letter-spacing: normal;
  text-align: left;
  color: #221e20;
}

.partner-modal-content .partner-modal-content-description {
  font-size: 18px;
  font-weight: 300;
  font-stretch: normal;
  font-style: normal;
  line-height: 3.33;
  letter-spacing: normal;
  text-align: left;
  color: #221e20;
}

/* popup transfer point */

.partner-transfer-point-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 8px;
  overflow: hidden;
}

.partner-transfer-point-summary .summary-card {
  background-color: #ffc764;
  padding: 10px 20px;
}

.partner-transfer-point-summary .summary-card p {
  font-size: 12px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: normal;
  color: #221e20;
}

.partner-transfer-point-summary .summary-card p strong {
  font-size: 16px;
  font-weight: 900;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: normal;
  color: #221e20;
  margin: 0;
}

.transfer-points-form-container {
  padding: 16px;
  border-radius: 6px;
  margin-top: 15px;
  border: 1px solid transparent;
  cursor: pointer;
}

.transfer-points-form-container-bg {
  background-color: #f4f7fc;
}
.transfer-points-form-container-bg-active {
  border: 1px solid #ed1b24;
  background-color: #fff;
}

.title-transfer-point-form{
  font-family: Ooredoo;
  font-size: 14px;
  font-weight: 900;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.36;
  letter-spacing: normal;
  color: #383838;
}
/* Transfer Points Styles */

/* Summary Card */
.transfer-summary-card {
    background-color: #f1f1f1;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 25px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.summary-row:last-child {
    margin-bottom: 0;
}

.summary-label {
    color: #666;
    font-size: 14px;
}

.summary-value {
    color: #dc3545;
    font-weight: bold;
    font-size: 14px;
}

/* Employee Checkbox List */
.employee-list-container {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 10px;
    margin-top: 20px;
    background-color: #fafafa;
}

.employee-checkbox-item {
    padding: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.employee-checkbox-item:last-child {
    border-bottom: none;
}

.employee-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 0;
    font-weight: normal;
}

.employee-checkbox-input {
    margin-right: 15px;
    transform: scale(1.3);
    cursor: pointer;
}

.employee-name {
    color: #555;
    font-size: 14px;
}

/* OR Divider */
.or-divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
}

.or-line {
    flex-grow: 1;
    height: 1px;
    background-color: #ccc;
}

.or-text {
    padding: 0 10px;
    color: #666;
    font-weight: bold;
    font-size: 12px;
}

/* Upload File Container */
.upload-file-container {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
}

.upload-file-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.upload-checkbox-section {
    display: flex;
    align-items: center;
    flex: 1;
}

.upload-checkbox-input {
    margin-right: 15px;
    transform: scale(1.3);
    cursor: pointer;
}

.upload-checkbox-label {
    margin-bottom: 0;
    font-weight: bold;
    color: #555;
    cursor: pointer;
}

.file-input-wrapper {
    margin-left: 15px;
    display: inline-block;
}

.hidden-file-input {
    display: none;
}

.choose-file-btn {
    color: #007bff;
    text-decoration: none;
    padding: 0;
}

.choose-file-btn:hover {
    text-decoration: underline;
}

.upload-continue-btn {
    margin-left: 10px;
}

@media (max-width: 768px) {
    .upload-file-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .upload-continue-btn {
        margin-left: 0;
        margin-top: 15px;
        width: 100%;
    }
}

/* File Validation Summary */
.file-validation-summary {
    background-color: #f8f8f8;
    border-radius: 5px;
    padding: 20px;
    margin-top: 20px;
}

.validation-row {
    margin-bottom: 10px;
    font-size: 14px;
}

.validation-row:last-of-type {
    margin-bottom: 15px;
}

.validation-value {
    margin-left: 20px;
    color: #666;
}

.validation-link {
    text-decoration: underline;
    cursor: pointer;
}

.validation-error {
    color: #dc3545;
    display: flex;
    align-items: start;
    margin-top: 10px;
    font-size: 14px;
}

.error-bullet {
    font-size: 14px;
    margin-right: 10px;
    margin-top: 2px;
}

/* Buttons */
.upload-again-btn {
    background-color: #ed1c2f;
    border: none;
    padding: 12px 0;
    width: 100%;
    border-radius: 25px;
    font-weight: bold;
    font-size: 16px;
    color: white;
}

.upload-again-btn:hover {
    background-color: #d11828;
    color: white;
}

.transfer-submit-btn {
    width: 100%;
    background-color: #e0e0e0;
    color: #999;
    border: none;
    padding: 15px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 16px;
}

.transfer-submit-btn:not(:disabled) {
    background-color: #ed1c2f;
    color: white;
    cursor: pointer;
}

.transfer-submit-btn:not(:disabled):hover {
    background-color: #d11828;
}

.transfer-submit-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* Confirmation Modals */
.confirmation-modal-dialog {
    max-width: 500px;
}

.confirmation-modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.confirmation-close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 28px;
    font-weight: 300;
    color: #333;
    opacity: 0.7;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1;
}

.confirmation-close:hover {
    opacity: 1;
}

.confirmation-modal-body {
    padding: 40px 30px 35px 30px;
    text-align: center;
}

.confirmation-icon {
    margin-bottom: 20px;
}

.confirmation-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.confirmation-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;
}

.confirmation-ok-btn {
    background-color: #ed1c2f;
    border: none;
    color: white;
    padding: 10px 50px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 14px;
    margin-top: 15px;
    margin-bottom: 5px;
    min-width: 120px;
}

.confirmation-ok-btn:hover {
    background-color: #d11828;
    color: white;
}

/* Employee IDs Display */
.employee-ids-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
    max-height: 200px;
    overflow-y: auto;
    padding: 10px;
}

.employee-id-badge {
    background-color: #f0f0f0;
    color: #333;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #ddd;
}

.status-link {
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
}

.status-link:hover {
    color: #0056b3;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .confirmation-modal-body {
        padding: 30px 20px;
    }

    .confirmation-title {
        font-size: 18px;
    }

    .confirmation-text {
        font-size: 13px;
    }

    .employee-id-badge {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* ========================= */
/* Voucher Card Styles       */
/* ========================= */

.voucher-loading {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.voucher-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 14px;
}

.voucher-card {
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    color: white;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
    min-height: 140px;
}

.voucher-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.voucher-card::after {
    content: '';
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.voucher-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.voucher-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    background: white;
    border-radius: 8px;
    padding: 5px;
    margin-right: 12px;
}

.voucher-partner-name {
    font-size: 16px;
    font-weight: 600;
}

.voucher-description {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 15px;
    line-height: 1.4;
}

.voucher-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
}

.voucher-points,
.voucher-validity {
    display: flex;
    flex-direction: column;
}

.voucher-points-label,
.voucher-validity-label {
    font-size: 11px;
    opacity: 0.8;
}

.voucher-points-value,
.voucher-validity-value {
    font-size: 14px;
    font-weight: 700;
}

/* Voucher colors by type */
.voucher-card.voucher-unused {
    background: linear-gradient(135deg, #ed1c2f 0%, #ff6b6b 100%);
}

.voucher-card.voucher-used {
    background: linear-gradient(135deg, #4ecdc4 0%, #2d9a8c 100%);
}

.voucher-card.voucher-expired {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
}

.voucher-card.voucher-canceled {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

/* Responsive adjustments for voucher cards */
@media (max-width: 576px) {
    .voucher-card {
        padding: 15px;
        min-height: 120px;
    }

    .voucher-logo {
        width: 40px;
        height: 40px;
    }

    .voucher-partner-name {
        font-size: 14px;
    }

    .voucher-description {
        font-size: 12px;
    }
}
 /* end of voucher style modification */