﻿.profile-thumbnail {
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid #ddd;
}

.btn-trump {
    position: relative;
    background-color: #f59e0b; /* Trump orange */
    color: white;
    font-weight: bold;
    padding: 1.5rem 2rem 1rem; /* Adjust top padding */
    border: 2px solid #f59e0b;
    border-radius: 50px;
    font-size: 1.25rem;
    text-transform: uppercase;
    overflow: visible; /* This is important! */
    text-align: center;
    display: inline-block;
}

.btn-trump::before {
    content: '';
    background: url('../images/trump-hair.png') no-repeat center top;
    background-size: cover;
    position: absolute;
    top: -30px; /* Moves the hair above the button */
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 40px;
    pointer-events: none;
    z-index: 2;
}

.btn-trump-text {
    position: relative;
    z-index: 3;
}

.introText {
    margin-bottom: 12px;
}

.nav > li > a {
    padding-left:12px;
    padding-right: 12px;
}

.railFilterSelect {
    float: left;
    width: 78px;
}
.railFilterInput {
    width: 80px;
    margin-left: 10px;
}

.railFilterLabel {
    display: block !important;
}

.notification{
    position: relative;
}

.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.validation-message {
    color: #dc3545;
}

.notification .badge {
    position: absolute;
    top: -14px;
    left: 0px;
    padding: 5px 10px;
    border-radius: 50%;
    background: red;
    color: white;
}

.navNotification .badge {
    padding: 3px 7px;
    top: 0px;
}

.navbar-nav > li > button {
    margin-left: 10px;
}

    @media (min-width: 768px) {
        .navbar-nav > li > button {
            margin-top: 10px;
            margin-left: 0px;
        }
    }

    .alert-danger {
        border: solid 1px #a94442;
        padding: 10px;
    }


    .btn-workflow {
        float: left;
        margin-right: 12px;
    }

    .returned-qq-row {
        background-color: paleturquoise !important;
    }

    table.hslTable {
        margin: 0 0 40px 0;
        width: 100%;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    }

        table.hslTable th {
            font-weight: 900;
            color: #ffffff;
            background: #3575bf;
        }

        table.hslTable td, table.hslTable th {
            padding: 6px 12px;
        }

    .table-actions {
        text-align: right;
    }

        .table-actions form {
            display: inline-block;
        }

    .optional-box {
        padding: 8px;
        border: solid 1px #3575bf;
        background-color: #f0f8ff;
    }

    .modal-content {
        background: #3575bf;
    }

    .modal-header, .bootstrap-dialog-close-button button {
        color: white !important;
    }

    .modal-body {
        background: white;
    }

    .filedrag {
        display: none;
        font-weight: bold;
        text-align: center;
        padding: 1em 0;
        margin: 1em 0;
        color: #555;
        border: 2px dashed #555;
        border-radius: 7px;
        cursor: default;
    }

        .filedrag.hover {
            color: #f00;
            border-color: #f00;
            border-style: solid;
            box-shadow: inset 0 3px 4px #888;
        }

    #warranty-status-banner {
        height: 50px;
        line-height: 50px;
        color: white;
        font-weight: bold;
    }

    .warranty-status-yes {
        background-color: green;
    }

    .warranty-status-no {
        background-color: darkred;
    }

    .warranty-status-soon {
        background-color: darkgoldenrod;
    }

/* Global Search Navigation Styles */
.navbar-nav .global-search-link {
    margin-right: 10px;
}

.navbar-nav .global-search-link a {
    font-size: 16px;
    padding: 15px 12px;
}

.navbar-nav .global-search-link a:hover,
.navbar-nav .global-search-link a:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

/* Mobile responsive adjustments */
@media (max-width: 767px) {
    .navbar-nav .global-search-link a {
        padding: 10px 15px;
        display: block;
    }
    
    .navbar-nav .global-search-link {
        margin-right: 0;
    }
}

/* Global Search Modal Enhancements */
#globalSearchModal .modal-dialog {
    margin-top: 10vh;
}

#globalSearchModal .form-control {
    font-size: 16px;
    padding: 12px;
}

#globalSearchModal .btn-block {
    margin-bottom: 10px;
}

@media (max-width: 767px) {
    #globalSearchModal .modal-dialog {
        margin: 20px;
        margin-top: 50px;
    }
}
