/* Import Maersk Fonts */
@import url('https://assets.maerskline.com/mds/fonts/fonts-cdn.css');

@import url('https://assets.maerskline.com/mds/latest/foundations/foundations.min.css');



/* Apply Maersk Headline font to relevant elements */
html, body {
    margin: 0;
    padding: 0;
    height: 100vh;
    font-size: 1rem; /* Use relative units */
    overflow-x: hidden; /* Prevent overflow */    
}

html {
    font-size: 14px; /* Default size for compactness */
}

body {

    display: flex;
    flex-direction: column;
}


/* Header Section Styling */
.custom-homepage-hero {
    background-color: #001F3F; /* Maersk blue */
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #FFFFFF;
    font-family: 'Maersk Headline', sans-serif;
    height: 10%; /* Reduced height of the header */
    overflow: hidden; /* Prevents scrollbar from appearing */
    width: 100%; /* Ensures full width */
    box-sizing: border-box; /* Ensures padding and border are included in the width */
    flex-shrink: 0; /* Prevents shrinking */
    position: relative;
   
    top: 0; /* Aligns the header at the top */
    left: 0; /* Aligns the header to the left edge */
    z-index: 1000; /* Makes sure the header stays on top of other content */
}

.custom-homepage-hero__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%; /* Ensure container uses the full height */
    box-sizing: border-box;
}


.custom-ign-header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%; /* Ensure container uses the full height */
    display: flex;
    align-items: center;
    justify-content: space-between; /* Adjust spacing between elements */
    width: 100%;
}

.custom-heading-text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap; /* Prevents text from wrapping */
}


.custom-ign-header__primary {
    display: flex;
    justify-content: space-between; /* Ensures spacing between columns */
    align-items: center;
    width: 100%;
}


.custom-error-container {
    flex: 1; /* Takes up available space */
    text-align: left;
}

.custom-user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.custom-error-message {
    color: #d9534f;
    font-size: 14px;
}

.custom-error-link {
    color: #f1ef46;
    text-decoration: none;
    font-weight: bold;
}

.custom-error-link:hover {
    text-decoration: underline;
}


.custom-logo {
    width: 250px;
    height: auto;
    
}



.custom-title {
    font-size: 1.8rem;
    color: #FFFFFF;
    font-family: 'Maersk Headline', sans-serif;
    margin: 0;
}

.custom-ign-header__primary {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.custom-user-greeting {
    font-size: 1.0rem;
    margin-bottom: 5px;
    font-family: 'Maersk Headline', sans-serif;
}

.custom-logout-link {
    font-size: 1rem;
    color: #FFFFFF;
    text-decoration: none;
    margin-top: 5px;
    font-family: 'Maersk Headline', sans-serif;
}

.custom-logout-link:hover {
    text-decoration: underline;
}

/* header section Styling Ends */

/* Main content section Styling */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 60vh;
    text-align: center;
}

.form-container {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

select, button, input[type="file"] {
    margin: 10px;
    padding: 10px;
    font-size: 16px;
}







/* Footer Styling */
.custom-footer {
    background: #001F3F;
    color: #fff;
    text-align: center;
    padding: 20px;
    width: 100%;
    flex-shrink: 0; /* Prevents shrinking */
    height: 5%;
    position: fixed;
    bottom: 0;
    left: 0;
    
    border-top: 1px solid #ddd; /* Optional: Add a border to separate it */
    z-index: 1000; /* Ensure it's above other elements */
    padding: 10px 20px; /* Adjust padding as needed */
    text-align: center;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); /* Optional: Add a shadow for better visibility */
}

.custom-footer-container {
    max-width: 1200px;
    margin: auto;
}

.custom-footer-base {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-footer-copyright-text {
    font-size: 14px;
}

.custom-footer-social {
    font-size: 14px;
    margin-top: 10px;
}

/* Fix Footer to Bottom */
body {
    display: flex;
    flex-direction: column;
}

.custom-footer {
    margin-top: auto;
}
