 /* Modal sizing */
.competency-modal {max-width: 775px; border-radius: 16px; padding: 0 !important; background-color: #ffffff;margin: 0 auto !important; }
.competency-modal .modal-content { padding: 20px !important;max-height: calc(100vh - 260px) !important;}
.competency-modal .modal-header { background-color: #F8FAFC; display: flex; justify-content: space-between; align-items: flex-start; padding: 20px;border-bottom: 1px solid #EEEEEE; }
.competency-modal .modal-header .title{font-size: 20px;line-height: 26px;color: #323232;}
.competency-modal .modal-header .subtitle{font-size: 12px;line-height: 20px;color: #6E6E6E;}
.competency-modal .header-left { display: flex; align-items: center; gap: 12px; }
.competency-modal .icon-badge { width: 48px;min-width: 48px; height: 48px; border-radius: 8px; background: #C9980B1A; display: flex; align-items: center; justify-content: center; }
.competency-modal .icon-badge i { color: #c99700; font-size: 30px;}
.competency-modal .title { margin: 0; font-weight: 600; }
.competency-modal .content-section { margin-bottom: 24px; }
.competency-modal .info-row { display: flex; gap: 12px; margin-bottom: 16px; }
.competency-modal .info-row:last-child { margin-bottom: 0; }
.competency-modal .info-icon-box { display: flex; justify-content: center; align-items: center; background-color: #EFF6FF; width: 30px; height: 30px; min-width: 30px; border-radius: 40px; }
.competency-modal .info-icon-box i { font-size: 16px; }
.competency-modal .info-icon-box-1 { background-color: #EFF6FF; }
.competency-modal .info-icon-box-2 { background-color: #FEFCE8; }
.competency-modal .info-icon-box-1 i,.competency-modal .option-card a { color: #24618C; }
.competency-modal .option-card a{word-break: break-word;}
.competency-modal .info-icon-box-2 i { color: #FFB900; }
.competency-modal .info-icon-box-2 { font-size: 16px; }
.competency-modal p { margin: 0; font-size: 12px; line-height: 20px; color: #6E6E6E; }
.competency-modal .section-title { font-weight: 600; font-size: 18px; margin: 0; line-height: 24px;color: #24618C; }
.competency-modal .section-subtitle { font-size: 12px; color: #6E6E6E; margin-bottom: 16px; }
.competency-modal .option-grid { margin-top: 15px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.competency-modal .option-card { border: 1px solid #E5E7EB; border-radius: 12px; padding: 16px; height: 100%; transition: all 0.25s ease; background: #F8FAFC;}
.competency-modal .option-card:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); }
.competency-modal .option-icon-area { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.competency-modal .option-icon-box { width: 30px; height: 30px; display: flex; background-color: #ffffff; justify-content: center; align-items: center; border-radius: 8px; min-width: 30px; }
.competency-modal .option-card i { color:#24618C;font-size :15px;margin-bottom :0 }
.competency-modal .option-card h6 { font-weight: 600; font-size: 16px; line-height: 24px; color: #212212; margin: 0; }
.competency-modal .modal-footer { padding:20px !important;margin: 0 !important;border-top: 1px solid #EEEEEE;display: flex;justify-content: flex-end;align-items: flex-end;}
.competency-modal .modal-footer .btn{padding: 8px 20px;border-radius: 8px;display: flex;justify-content: center;align-items: center;font-size: 14px;line-height: 20px;text-transform: capitalize;}
.competency-btn { display: inline-flex; align-items: center; cursor: pointer; gap: 5px; padding: 7px 10px; box-shadow: 1px 2px 16px rgba(0, 0, 0, 0.1); border-radius: 18px; color: #C9980B; font-weight: 600;white-space: nowrap;font-size: 10px;line-height: 12px;text-transform: capitalize;}
.competency-btn i{font-size: 12px;}
.competency-btn:hover { background-color: #C9980B; color: white; }

/* Before login css no_class start */
.competency-modal.no_class{max-height: calc(100vh - 90px);overflow: hidden;width: 70%; max-width: 820px;margin: 0 auto !important;}
.competency-modal.no_class .modal-content {max-height: calc(100vh - 300px) !important;overflow-y: auto;overflow-x: hidden;}
.competency-modal.no_class p{font-size: 18px; color: var(--gray-color);line-height: 24px;}
.competency-modal.no_class .modal-footer{height: auto; padding: 10px 20px !important;background-color: #ffffff;}
.competency-modal.no_class .modal-header .title{color: #323232;font-size: 24px;line-height: 30px;}
.competency-modal.no_class .option-card h6{color:#181925;font-size: 20px;line-height: 28px;}
.competency-modal.no_class .section-title{font-size: 20px;line-height: 28px;}
.competency-modal.no_class .option-icon-box{width: 40px;height: 40px;min-width: 40px;}
.competency-modal.no_class .option-icon-box i{font-size: 20px;}
.no_class.competency-btn{font-size: 10px;line-height: 12px; padding: 8px 10px;}
/* Before login css no_class End */



  /* Tablet */
  @media (max-width: 992px) {
    .competency-modal { width: 90%; }
    .competency-modal.no_class{max-height: calc(100vh - 200px);width: 90%;}
    .competency-modal.no_class .modal-content {max-height: calc(100vh - 400px) !important;}
    .competency-modal .option-grid { grid-template-columns: 1fr; }
  }

  @media (max-width: 1280px) and (orientation: landscape) {
  .competency-modal.no_class {
    max-height: calc(100vh - 200px);
  }
  .competency-modal.no_class .modal-content {
    max-height: calc(100vh - 400px) !important;
    overflow-y: auto;
  }

}
@media (max-width: 768px) and (orientation: landscape) {
  .competency-modal.no_class {
    max-height: calc(100vh - 80px);
  }
  .competency-modal.no_class .modal-content {
    max-height: calc(100vh - 420px) !important;
  }
}
  /* Mobile */
  @media (max-width: 600px) {
.competency-modal .option-grid {  grid-template-columns: 1fr; width: 100%;}
.competency-modal .option-card { min-width: 0; }
/* .competency-modal .option-grid,.competency-modal.no_class .option-grid{ } */
.competency-modal{margin: 0 auto !important;max-height: calc(100vh - 150px) !important;}
.competency-modal .icon-badge{width: 40px;height: 40px;min-width: 40px;}
.competency-modal .icon-badge i{font-size: 24px;}
.competency-modal .header-left { align-items: flex-start; }
.competency-modal .modal-content { max-height: calc(100vh - 320px) !important;}
.competency-modal .header-left  .title{font-size: 18px;line-height: 24px;}
.competency-modal .option-card { padding: 14px; }
.competency-modal.no_class .option-card h6,.competency-modal.no_class .option-card h6{font-size: 18px;line-height: 24px;}
.competency-modal.no_class p{font-size: 16px; line-height: 20px;}
.competency-modal .modal-footer { text-align: center; }
.competency-modal.no_class{width: 90%;}
  }