/* ── Original Snappass CSS ── */
html {
    position: relative;
    min-height: 100%;
}

.break-word {
    word-wrap: break-word;
}

.margin-bottom-10 {
    margin-bottom: 10px;
}

input[readonly].readonly-text {
    background-color: #fff;
    cursor: text;
}

/*IBS Logistics Custom Styles*/
body {
    font-family: 'Barlow', sans-serif;
    font-weight: 300;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

h1, h2, h3 {
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
}


.navbar-ibs {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 0 67.5px;
    height: 100px;
    min-height: 100px;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: normal;
    gap: 20px;
}

.navbar-ibs .navbar-logo {
    align-self: center;
    margin-right: 60px;
}

.navbar-ibs .navbar-logo img {
    height: 79px;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navbar-menu a {
    color: #002D53;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 500;
    font-size: 18px;
    text-decoration: none;
    letter-spacing: 0.5px;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s, color 0.3s;
}

.navbar-menu a:hover,
.navbar-menu a:focus {
    color: #002D53 !important;
    border-bottom: 2px solid #EB690B;
    background-color: transparent !important;
    background: none !important;
}

.navbar-ibs .btn-back {
    margin-left: auto;
    align-self: center;
    background-color: #ffffff;
    border: 2px solid #EB690B;
    color: #EB690B;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 18px;
    border-radius: 4px;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.navbar-ibs .btn-back i {
    margin-right: 6px;
}

.navbar-ibs .btn-back:hover {
    background-color: #EB690B;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(235, 105, 11, 0.6);
}


.navbar-toggle {
    display: none;
    background: none;
    border: 2px solid #EB690B;
    border-radius: 4px;
    padding: 8px 10px;
    cursor: pointer;
    align-self: center;
    margin-left: auto;
}

.navbar-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #EB690B;
    margin: 5px 0;
    transition: transform 0.3s, opacity 0.3s;
}

/*Main content wrapper*/
.ibs-main {
    flex: 1;
    padding: 20px;
}

.ibs-card {
    background: #ffffff;
    border-radius: 6px;
    padding: 30px 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.ibs-card h1,
.ibs-card .page-header h1 {
    font-size: 28px;
    font-weight: 900;
    color: #002D53;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    margin-top: 0;
    margin-bottom: 30px;
    font-family: 'Barlow', sans-serif;
}

.page-header {
    border-bottom: none !important;
    margin-bottom: 10px !important;
    padding-bottom: 0 !important;
}

/*Input Group*/
.input-group {
    border-radius: 6px;
    transition: box-shadow 0.3s;
    overflow: hidden;
}

.input-group .input-group-addon {
    background-color: #EB690B;
    color: #ffffff;
    border: none;
    border-radius: 6px 0 0 6px;
    width: 58px;
    text-align: center;
    vertical-align: middle;
    display: table-cell;
    padding: 12px 20px;
    transition: background-color 0.3s;
}

.input-group .input-group-addon .glyphicon-lock {
    display: inline-block;
    transition: transform 0.3s;
}

.input-group textarea.form-control {
    border-left: none;
    border-radius: 0 6px 6px 0;
    border: 2px solid #EB690B;
    resize: vertical;
    min-height: 200px;
    width: 600px;
    padding: 12px 15px;
    font-size: 16px;
    transition: box-shadow 0.3s, border-color 0.3s;
}

.input-group textarea.form-control:focus {
    box-shadow: 0 0 12px rgba(235, 105, 11, 0.8);
    outline: none;
    border-color: #EB690B !important;
}

/*Buttons*/
.btn-primary,
button[type="submit"].btn-primary,
#submit {
    background-color: #002D53 !important;
    border-color: #002D53 !important;
    color: #ffffff !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 4px;
    padding: 10px 28px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover,
button[type="submit"].btn-primary:hover,
#submit:hover {
    background-color: #002D53 !important;
    border-color: #EB690B !important;
    box-shadow: 0 6px 16px rgba(0, 45, 83, 0.4), 0 0 0 2px #EB690B !important;
    transform: translateY(-3px);
}

/*Select dropdown*/
select.form-control {
    height: 48px;
    cursor: pointer;
    font-size: 16px;
}

/*Alert / lead text*/
p.lead {
    color: #555555;
}


.info-box {
    background-color: #f0f7ff;
    border-left: 4px solid #002D53;
    border-radius: 4px;
    padding: 16px 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 700px;
    transition: box-shadow 0.3s;
}

.info-box:hover {
    box-shadow: 0 0 10px rgba(0, 45, 83, 0.4);
}


.warning-box {
    background-color: #fff0f0;
    border-left: 4px solid #cc0000;
    border-radius: 4px;
    padding: 16px 20px;
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 700px;
    transition: box-shadow 0.3s;
}

.warning-box:hover {
    box-shadow: 0 0 10px rgba(204, 0, 0, 0.4);
}


.ibs-footer {
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
    padding: 18px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 16px;
    color: #002D53;
}

.ibs-footer a {
    color: #002D53;
    text-decoration: none;
    margin-left: 30px;
    font-size: 16px;
    transition: color 0.3s;
}

.ibs-footer a:hover {
    color: #EB690B;
    text-decoration: none;
}

/* ── Hover Effekte ── */
.input-group:hover {
    box-shadow: 0 0 8px rgba(235, 105, 11, 0.6);
}

.input-group:hover .input-group-addon {
    background-color: #FF6B00;
    box-shadow: 0 0 12px rgba(255, 107, 0, 0.8);
}

.input-group:hover .input-group-addon .glyphicon-lock {
    transform: translateY(-3px);
}

#password-text {
    transition: box-shadow 0.3s;
}

#password-text:hover {
    box-shadow: 0 0 8px rgba(235, 105, 11, 0.6);
}

#password-link {
    transition: box-shadow 0.3s;
}

#password-link:hover {
    box-shadow: 0 0 8px rgba(235, 105, 11, 0.6);
}

/*Einblend Animation*/
@keyframes fadeSlideIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.ibs-card {
    animation: fadeSlideIn 0.5s ease-out;
}

.navbar-ibs {
    animation: fadeSlideIn 0.4s ease-out;
}

.ibs-footer {
    animation: fadeSlideIn 0.6s ease-out;
}


/*Tablet max 992px*/
@media (max-width: 992px) {
    .navbar-ibs {
        padding: 0 30px;
        gap: 15px;
    }

    .navbar-ibs .navbar-logo {
        margin-right: 30px;
    }

    .navbar-menu {
        gap: 18px;
    }

    .navbar-menu a {
        font-size: 15px;
    }

    .navbar-ibs .btn-back {
        font-size: 12px;
        padding: 6px 14px;
    }

    .ibs-card {
        padding: 25px 30px;
    }
}

/*Mobile max 768px*/
@media (max-width: 768px) {
    /* Navbar */
    .navbar-ibs {
        padding: 0 16px;
        height: auto;
        min-height: 70px;
        flex-wrap: wrap;
        position: relative;
    }

    .navbar-ibs .navbar-logo {
        margin-right: 0;
    }

    .navbar-ibs .navbar-logo img {
        height: 50px;
    }


    .navbar-toggle {
        display: block;
    }

    /*Hide menu + back button by default*/
    .navbar-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding: 10px 0;
        border-top: 1px solid #e0e0e0;
    }

    .navbar-menu.open {
        display: flex;
    }

    .navbar-menu a {
        font-size: 16px;
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .navbar-menu a:last-child {
        border-bottom: none;
    }

    .navbar-ibs .btn-back {
        display: none;
    }

    .navbar-ibs .btn-back.mobile-show {
        display: block;
        width: 100%;
        text-align: center;
        margin: 10px 0;
        margin-left: 0;
    }

    /*Main content*/
    .ibs-main {
        padding: 12px;
    }

    .ibs-card {
        padding: 20px 16px;
        border-radius: 4px;
    }

    .ibs-card h1,
    .ibs-card .page-header h1 {
        font-size: 22px;
        margin-bottom: 20px;
        letter-spacing: 0.5px;
    }

    /*Form columns stack vertically*/
    .col-md-8,
    .col-md-4,
    .col-md-6 {
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        float: none !important;
    }

    .col-md-4 {
        margin-top: 12px;
    }

    /*Input group*/
    .input-group .input-group-addon {
        width: 45px;
        padding: 10px 14px;
    }

    .input-group textarea.form-control {
        width: 100% !important;
        min-height: 150px;
        font-size: 15px;
    }


    select.form-control {
        height: 44px;
        font-size: 15px;
    }

    /* Buttons */
    .btn-primary,
    button[type="submit"].btn-primary,
    #submit {
        width: 100%;
        padding: 12px 20px;
        font-size: 15px;
    }

    .copy-clipboard-btn {
        width: 100% !important;
        margin-top: 10px;
    }

    /*Info/Warning boxes*/
    .info-box,
    .warning-box {
        max-width: 100%;
        padding: 12px 14px;
        gap: 10px;
    }

    .info-box span,
    .warning-box span {
        font-size: 14px !important;
    }

    /*Password link input*/
    #password-link {
        font-size: 13px !important;
    }

    /*Password text area on reveal page*/
    #password-text {
        min-height: 150px !important;
        font-size: 14px !important;
    }

    /*Footer*/
    .ibs-footer {
        flex-direction: column;
        text-align: center;
        padding: 16px 16px;
        gap: 10px;
        font-size: 14px;
    }

    .ibs-footer a {
        margin-left: 15px;
        font-size: 14px;
    }

    .ibs-footer a:first-child {
        margin-left: 0;
    }
}

/*Small phones max 400px*/
@media (max-width: 400px) {
    .navbar-ibs {
        padding: 0 10px;
    }

    .navbar-ibs .navbar-logo img {
        height: 40px;
    }

    .ibs-card {
        padding: 16px 12px;
    }

    .ibs-card h1,
    .ibs-card .page-header h1 {
        font-size: 19px;
    }

    .ibs-footer {
        padding: 12px 10px;
    }
}