@font-face {
  font-family: "co-headline";
  src: url("fonts/CoHeadline.woff2") format("woff2"),
       url("fonts/CoHeadline.woff") format("woff"),
       url("fonts/CoHeadline.ttf") format("truetype");
  /* Optional descriptors */
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* Best practice for performance */
}
@font-face {
  font-family: "co-headline-bold";
  src: url("fonts/CoHeadlineBold.woff2") format("woff2"),
       url("fonts/CoHeadlineBold.woff") format("woff"),
       url("fonts/CoHeadlineBold.ttf") format("truetype");
  /* Optional descriptors */
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* Best practice for performance */
}
@font-face {
  font-family: "co-headline-light";
  src: url("fonts/CoHeadlineLight.woff2") format("woff2"),
       url("fonts/CoHeadlineLight.woff") format("woff"),
       url("fonts/CoHeadlineLight.ttf") format("truetype");
  /* Optional descriptors */
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* Best practice for performance */
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
 /* display: flex;*/
  align-items: center;
  justify-content: center;
  background: url('../images/badael-bg.jpg') top center no-repeat;
  background-size: cover;
  font-family: 'co-headline', 'Segoe UI', 'Roboto', sans-serif;
  padding: 0;
}
.d-flex{
    display: flex !important;
}
.mb-3{
    margin-bottom: 30px !important;
}
.mt-3{
    margin-top: 30px !important;
}
.me-2 {
    margin-right: .5rem !important;
}
.container{
    width: 100%;
    padding: 0 .75rem;
    margin: 0 auto;
}
.header{
    width: 100%;
    position: relative;
    top: 10px;
}
.header .pif-logo{
    margin-right: auto !important;
    align-items: center;
    line-height: 1;
}
.header .badael-logo {
    text-align: right;
}
.header .pif-logo > img, .header .badael-logo > img {
    width: 50%;
}
.dashboard-header{
    background: #fff;
    border-bottom: 1px solid #F9B772;
    padding: 10px 0;
}
 .dashboard-header .container, .header .container, .dashboard-header .header-links, .dashboard-header .nav, .dashboard-header .user-info{
    display: flex;
    list-style: none;
}
.header .container{
    align-items: center;
    padding: 0;
}
.dashboard-header .user-info{
    justify-content: end;
    flex: auto;
}
.dashboard-header .user-info p {
    font-size: 12px;
    display: contents;
}
.dashboard-header .user-info p .user-name {
    color: #688D75;
    margin-left: 5px;
    padding-top: 7px;
}
.dashboard-header .user-info i {
    font-size: 20px;
    opacity: .5;
    margin-right: 10px;
}
.dashboard-header .user-info .logout-btn{
    background: #688D75;
    color: #fff;
    padding: .375rem 1.5rem;
    margin-left: 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
}
.dashboard-header .user-info .logout-btn:hover {
    background-color: #274C4B;
}
.nav .nav-item{
    line-height: 1.2;
}
.nav .nav-item .nav-links{
    display: block;
    padding: .4rem 1rem .6rem;
    color: #fff;
    background-color: #274C4B;
    text-decoration: none;
    font-size: 12px;
    border-radius: 4px;
}
.nav .nav-item .nav-links:hover{
    background: #688D75;
}
.login-wrapper {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}

.login-container {
  background: #ffffff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  border: 1px solid #e5e7eb;
  opacity: .8;
}

.login-header {
  margin-bottom: 20px;
  text-align: center;
}

.brand-title {
  font-size: 28px;
  font-weight: 600;
  color: #274C4B;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.brand-subtitle {
  font-size: 15px;
  color: #6b7280;
  font-weight: 400;
}
.dashboard-container > img{
    width: 100%;
}
.form-group {
    margin-bottom: 10px;
    position: relative;
}
.form-control {
    width: 100%;
    padding: 16px 16px 16px 48px;
    background: #cfd7d6;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #333;
    font-size: 16px;
    transition: all 0.3s ease;
    /*font-family: 'co-headline-light', 'Segoe UI', 'Roboto', sans-serif;*/
}
input.form-control:focus{
    outline-color: #526F6E;
    border-color:#526F6E ;
}
.label-row {
  display: flex;
  justify-content: end;
  align-items: center;
  margin-bottom: 8px;
}
.fDir-start{
    justify-content: start;
}
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 8px;
}
.form-label.otp-label {
    width: 40%;
    line-height: 44px;
}
::placeholder {
  color: #768585;
  opacity: 1; /* Firefox */
}

::-ms-input-placeholder { /* Edge 12 -18 */
  color: #768585;
}
.forgot-link {
  font-size: 13px;
  color: #526F6E;
  text-decoration: none;
  font-weight: 500;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.forgot-link:hover {
  color: #274C4B;
  text-decoration: underline;
}
.forgot-link > i{
    margin-right: 5px;
}
.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 18px;
}
.input-with-icon i >img {
    width: 26px;
}
.form-input {
  width: 100%;
  padding: 11px 14px;
  font-size: 15px;
  color: #111827;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  transition: all 0.2s ease;
  outline: none;
}

.form-input::placeholder {
  color: #9ca3af;
}

.form-input:focus {
  border-color: #274C4B;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.otp-form .form-control {
    padding: 16px;
}

.message-box{
    background: #BDDA81;
    outline: 1px dashed #BDDA81;
    padding: 12px 16px;
    font-size: 14px;
    text-align: center;
    border-radius: 8px;
    color: #274C4B;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background: rgb(39, 76, 75);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  letter-spacing: 2px;
}

.submit-btn:hover {
  background: #526F6E;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(39, 76, 75, 0.25);
  letter-spacing: 4px;
}

.submit-btn:active {
  transform: translateY(0);
}

.btn-loader {
  display: none;
}

.submit-btn.loading .btn-text {
  opacity: 0;
}

.submit-btn.loading .btn-loader {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.footer {
    position: fixed;
    bottom: 20px;
    width: 100%;
    padding: 0 40px;
}

.footer .vision-txt{
    color: #fff;
}
.footer .vision-txt > span{
    color: #BDDA81;
}

@media (max-width: 480px) {
  .login-container {
    padding: 32px 24px;
  }
  
  .brand-title {
    font-size: 24px;
  }
  
  .social-buttons {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 1200px) {
    .container{
        max-width: 1140px;
    }

}
@media (min-width: 1400px) {
    .container{
        max-width: 1320px;
    }

}