.pf-v5-c-login__container {
    min-width: 500px;
    grid-template-areas: "main";
    grid-template-columns: 34rem;
}

#kc-header-wrapper {
    padding-top: 70px;
    /* Adjust padding as needed */
    position: relative;
    /* Change to relative if it works better with your layout */
    width: 100%;
    /* Ensure it takes the full width */
    max-width: 1200px;
    /* Example max-width to contain the layout on very wide screens */
    margin: 0 auto;
    /* Adjust bottom margin to 20px */
    box-sizing: border-box;
    /* Include padding in the element's total width and height */
}

.pf-v5-c-form__group {
    text-decoration: none !important;
}

.pf-v5-c-login__main {
    /* width: 625px; */
    box-shadow: none;
    border-radius: 10px;
    border: solid 1px #d5d7da;
    padding: 40px;
}

.pf-v5-c-login__main-body {
    padding-bottom: 0px;
}

.pf-v5-c-login__main-header {
    padding: 0px;
}
.pf-v5-c-login__main-footer-links {
    margin: 0px;
    padding: 0px;
}
.pf-v5-c-login__main-footer-links {
    width: 100%;
}

.pf-v5-c-login__container {
    grid-template-areas: "main";
    grid-template-columns: 34rem;
    margin-top: 0px;
    /* Ensure top margin is 20px if adjusting this element instead */
    padding-top: 0px;
    width: auto;
}

.login-pf body {
    /* background: url("../img/ndp-landing-image.png") no-repeat center center fixed; */
    background-size: cover;
    background-color: rgba(255, 255, 255, 0.04);
    background-color: #eaebec;
    /* height: 100%; */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
}

.login-pf-settings {
    /* display: flex;
    justify-content: space-between; */
}

#kc-form-options {
    display: flex;
    justify-content: space-between;
    margin: 0.5rem auto 2rem;
}


div.kc-logo-text {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    /* Add this line to allow logos to wrap */
    margin: 0 auto;
    gap: 20px;
    /* This property creates space between flex items; adjust as needed */
}

.pf-v5-c-login {
    display: flex;
    align-items: flex-start !important;
    min-height: auto !important;
    padding: 0px;
}

div.kc-logo-text .logo {
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    /* Adjust as needed; 'contain' ensures the image is fully visible */
}

#navlogo {
    height: 30px;
    width: auto;
    background-image: url(../img/National_Data_Platform_horiz_stacked.svg);
    /* object-fit: contain; */
    background-size: contain;      /*fill the container, may crop*/
    background-position: center; /* center the image */
    background-repeat: no-repeat;
}
#logo1 {
    /* height: 39px; */
    height: 100px;
    /* Height for the first logo */
    width: 250px;
    /* width: 147px; */
    /* Width for the first logo */
    background-image: url(../img/National_Data_Platform_horiz_stacked.svg);
    /* Additional styling as needed */
}

#logo2 {
    margin-left: 100px;
    height: 100px;
    /* Height for the second logo */
    width: 100px;
    /* Width for the second logo */
    background-image: url(../img/nsf-logo.png);
    /* Additional styling as needed */
}

div.kc-logo-text span {
    display: none;
}

.pf-v5-c-button.pf-m-primary {
    color: white;
    background-color: #0039a7 !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
}

.pf-v5-c-button.pf-m-primary:hover {
    cursor: pointer;
    text-decoration: underline !important;
    background-color: #022f89 !important;
}

.login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 300px;
    padding: 12px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    font-family: sans-serif;
    gap: 8px;
}

#default-login-btn {
    background-color: #5C946D;
    color: white;
}
#default-login-btn:hover {
    text-decoration: none !important;
    background-color: #528562;
}

#cilogon-btn {
    background-color: #3182CE;
    color: white;

}

#cilogon-btn:hover {
    background-color: #2c75b9;
}

#orcid-btn {
    background-color: #5C946D;
    color: white;
}

#orcid-btn:hover {
    text-decoration: none !important;
    background-color: #528562;
}

.ndp-footer {
    bottom: 0; /* Align to bottom */
    left: 0; 
    /* Align to left side */
    width: 100%; /* Span the full width of the viewport */
    background-color: #081444;
    color: #ffffff;
    font-family: Arial, sans-serif;
    /* Example font */
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
    /* Ensure it sits above other content */
    /* height: 90px; */
}



.footer-content {
    display: flex;
    justify-content: center;
    gap: 8rem;
    /* justify-content: space-between; */
    align-items: center;
    width: 100%;
    margin: 0 auto;
    padding: 1.25rem 5rem;
}

.footer-logos {
    display: flex;
    align-items: center;
    vertical-align: middle;
    gap: 40px;
    height: 100%;
}

.footer-logo {
    /* Add your NSF logo background here */
    background-image: url('../img/National_Data_Platform_horiz_stacked_wt.svg');
    /* Example path to your NSF logo */
    background-size: contain;
    background-repeat: no-repeat;
    height: 36px;
    /* Adjust based on your logo */
    width: 208px;
    /* Adjust based on your logo */
}

.footer-logo2 {
    /* Add your NSF logo background here */
    background-image: url('../img/nsf-logo.png');
    /* Example path to your NSF logo */
    background-size: contain;
    background-repeat: no-repeat;
    height: 50px;
    width: 50px;
}

.footer-text {
    display: flex;
    justify-content: center;
    flex-direction: column;
    min-width: 50%;
    gap: 0.25rem;
}
.footer-text p {
    margin: 0;
    font-size: 12px;
    /* Adjust as needed */
    /* padding-left: 20px;
    padding-right: 20px; */
}

.footer-social {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 1px;
    /* align-items: center;
    justify-content: flex-end; */
    /* Aligns the social icons to the right */
    /* padding-right: 20px; */
    /* Adds padding to the right of the social icons container */
}

.footer-social a {
    color: white;
    /* Sets the color of the links to white */
    margin-left: 10px;
    /* Adds space between the icons */
    text-decoration: none;
    /* Removes underline from links */
}

.footer-social a svg {
    fill: currentColor;
    /* SVG fill uses the color of the parent element, which is white */
}

.social-icon {
    color: white !important;
}

.social-icon:hover {
    color: gray !important;
}

@media (max-width: 1000px) {
    .ndp-footer {
        height: 200px;
    }

    .pf-v5-c-login__container {
        /* padding-bottom: 100px; */
    }
}

@media (max-width: 750px) {
    .alpha-version-banner {
        height: 80px !important;
    }

    #kc-header-wrapper {
        padding-top: 100px !important;
    }
}

@media (max-width: 900px) {
    .ndp-footer {
        display: none !important;
    }

    .pf-v5-c-login__container {
        /* padding-bottom: 40px; */
    }
}

@media screen and (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo,
    .footer-social {
        margin-bottom: 20px;
        /* Ensure there's space between the items when they stack */
    }
}

.alert {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 0.375rem;
    font-family: sans-serif;
    font-size: 0.95rem;
    margin-top: 2rem;
    background-color: #fff3d2;
    color: #997513;
    border: 1px solid #FFC321;
  }
  
  .alert-icon {
    margin-right: 0.5rem;
    font-size: 1.2rem;
  }
  
  .alert-title {
    font-weight: bold;
    margin-right: 0.5rem;
  }
  
  .alert-description {
    /* flex: 1; */
    margin-right: 0.5rem;
  }
  
  /* Status-specific styles */
  .alert.warning {
    background-color: #fefcbf;
    color: #975a16;
    border: 1px solid #ecc94b;
  }  

  .nav {
    background-color: #f7fafc;
    display: flex;
    align-items: center;
    padding: 16px;
    gap: 8px;
    min-width: max-content;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
  }
  .vstack {
    display: flex;
    flex-direction: column;
  }
  .hstack {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .align-items-left {
    align-items: left !important;
  }

  .link {
    font-size: 0.875rem;
    color: #76839D;
    text-decoration: none;
  }

  .link:hover {
    color: #000;
  }

  .spacer {
    flex-grow: 1;
  }
  .center {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .button-group {
    display: flex;
    gap: 20px;
  }
  .btn {
    font-size: 0.875rem;
    padding: 8px 16px;
    border: none;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
  }
  .btn-solid {
    background-color: #0039A7;
    color: #fafafa;
  }
  .btn-solid:hover {
    background-color: #002E86;
  }

  /* LOGIN TABS */
  [data-tab-content] {
    display: none;
  }
  
  .active[data-tab-content] {
    display: block;
  }
  
  .tabs {
    display: flex;
    justify-content: space-between;
    list-style-type: none;
    margin: 0px;
    padding: 0px;
    margin-top: 16px;
    font-family: sans-serif;
    text-decoration: none;
    color: #abafb5;
    font-size: 16px;
    /* position: relative; */
    /* margin: 10px 0; */
    /* padding: 12px 10px; */
  }
  
  .tab {
    text-align: center;
    cursor: pointer;
    padding: 10px;
    width: 50%;
    /* border-bottom: solid 2px #EAF2FA; */
    border-bottom: solid 2px #E2E8F0;
  }
  
  .tab.active {
    /* background-color: #CCC; */
    color: #3182CE;
    border-bottom: solid 2px #3182CE;
    font-weight: bold;
  }
  
  .tab:hover {
    background-color: #f8f8f8;
  }
  
  .tab-content {
    /* margin-left: 20px;
    margin-right: 20px; */
    padding-top: 24px;
  }