/*User*/
.headerLogin {
    float: right;
}

    .headerLogin ul {
        display: flex;
        gap: 10px;
        list-style: none;
        margin: 0;
        padding-left: 20px;
    }
.percent-bar {
    width: 120px;
    height: 18px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #ccc;
}

.percent-fill {
    height: 100%;
    background: #4caf50;
    text-align: center;
    color: white;
    font-size: 12px;
    line-height: 18px;
}

.logMenuBtn {
    background: #ffffff none repeat scroll 0 0;
    border-radius: 28px;
    /* box-shadow: 0 5px 40px 0 rgba(42, 111, 199, 0.2); */
    display: inline-block;
    margin-top: 0;
    padding: 6px 12px !important;
    transition: all 0.3s ease 0s;
    border: 1px solid #b2952e;
    display: block;
    font-size: 14px;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    color: #b2952e;
}

    .logMenuBtn .xLog {
    }



.user-name {
}

    .user-name span {
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 1;
        display: -webkit-box;
        -webkit-box-orient: vertical;
    }

.user-menu {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 20px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
    background: #d0b546;
    color: white;
}

    .user-info:hover {
        background: #d0b546;
    }

.user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
}

.user-name {
    font-weight: 500;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    min-width: 285px;
    padding: 10px 0;
    display: none;
    z-index: 1001;
}

    .user-dropdown.active {
        display: block;
    }

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: black;
    text-decoration: none;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .dropdown-item:hover {
        background: #f8f9fa;
    }

    .dropdown-item.logout {
        color: #f44336;
        border-top: 1px solid #eee;
        margin-top: 5px;
    }

.menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    display: none;
}

.mobile-menu {
    display: none;
    background: #1e3a8a;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

    .mobile-menu.active {
        display: block;
    }

.mobile-nav-links {
    list-style: none;
    margin-bottom: 20px;
}

    .mobile-nav-links li {
        margin: 10px 0;
    }

    .mobile-nav-links a {
        color: white;
        text-decoration: none;
        font-weight: 500;
        padding: 10px 0;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }




/* Sidebar */
.sidebar {
    width: 303px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
    margin-right: 20px;
    overflow: hidden;
    flex: 0 0 300px;
}

.sidebar-header {
    background: linear-gradient(45deg, #005365, #1097c1) !important;
    color: white;
    padding: 25px 20px;
    text-align: center;
}

.sidebar-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 15px;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.sidebar-user-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.sidebar-user-email {
    font-size: 14px;
    opacity: 0.8;
}

.sidebar-nav {
    padding: 0;
}

.nav-item {
    display: block;
    padding: 18px 6px;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    display: flex;
    align-items: center;
    gap: 7px;
    border-bottom: 1px solid #f0f0f0;
}

    .nav-item:hover,
    .nav-item.active {
        background: #f8f9fa;
        border-left-color: #1a5d7a;
        color: #1a5d7a;
    }

    .nav-item i {
        font-size: 18px;
        width: 20px;
    }

/* Main Content */
.main-content {
    /* flex: 0 0 800px; */
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 20px 10px;
    height: fit-content;
    overflow: hidden;
    flex: 1;
}

.page-title {
    font-size: 28px;
    font-weight: bold;
    color: #1a5d7a;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Content Sections */
.content-section {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

    .content-section.active {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 15px 8px;
    margin-bottom: 25px;
    border: 1px solid #e9ecef;
}

.card-title {
    font-size: 20px;
    font-weight: bold;
    color: #1a5d7a;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.xSearchBoxMul{

}
/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease;
}

    .stat-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    .stat-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(45deg, #005365, #1097c1);
    }

.stat-icon {
    font-size: 48px;
    color: #1a5d7a;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 32px;
    font-weight: bold;
    color: #1a5d7a;
    margin-bottom: 10px;
}

.stat-label {
    color: #666;
    font-size: 14px;
}

/* Form Styles */
.profile-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

    .form-group.full-width {
        grid-column: 1 / -1;
    }

.form-label {
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.form-input {
    padding: 0px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    background: white;
}

    .form-input:focus {
        outline: none;
        border-color: #1a5d7a;
        box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
    }

    .form-input:disabled {
        background: #f1f3f4;
        color: #666;
        cursor: not-allowed;
    }

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(45deg, #005365, #1097c1);
    color: white;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
    }

.btn-secondary {
    background: #6c757d;
    color: white;
}

    .btn-secondary:hover {
        background: #5a6268;
    }

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Search Form */
.search-form {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.search-btn {
    grid-column: 1 / -1;
    padding: 15px 30px;
    background: linear-gradient(45deg, #005365, #1097c1);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

    .search-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
    }

/* Search Results */
.search-results {
    margin-top: 25px;
}

.result-item {
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

    .result-item:hover {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.ship-name {
    font-size: 18px;
    font-weight: bold;
    color: #1a5d7a;
}

.ship-status {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.status-available {
    background: #d4edda;
    color: #155724;
}

.result-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.detail-item {
    text-align: center;
}

.detail-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.detail-value {
    font-weight: bold;
    color: #333;
}

.result-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn-sm {
    padding: 8px 15px;
    font-size: 12px;
}

/* Password Form */
.password-form .form-group {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    font-size: 16px;
}

/* Footer Styles - Same as index.html */
.utilities-section {
    padding: 40px 0;
    background: #1a5d7a;
    color: white;
    margin-top: 40px;
}

.utilities-title {
    text-align: center;
    color: white;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
}

.utilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.utility-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

    .utility-card:hover {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.15);
    }

.utility-icon {
    font-size: 48px;
    color: white;
    margin-bottom: 15px;
}

.utility-card h3 {
    color: white;
    margin-bottom: 10px;
    font-size: 18px;
}

.utility-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.5;
}

.chat-widget {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
}

.chat-toggle {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

    .chat-toggle:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }

/* Mobile Responsive */
@media (max-width: 1024px) {
    .dashboard-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
        position: static;
    }

    .profile-form,
    .search-form {
        grid-template-columns: repeat(2, 1fr);
    }

    .result-details {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
    }

    .user-menu {
        display: none;
    }

    .dashboard-container {
        margin-top: 15px;
    }

    .main-content {
        padding: 20px;
    }

    .profile-form,
    .search-form {
        grid-template-columns: 1fr;
    }

    .result-details {
        grid-template-columns: 1fr;
    }

    .result-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .result-actions {
        justify-content: flex-start;
    }

    .sidebar-header {
        padding: 20px;
    }

    .sidebar-avatar {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .utilities-grid {
        grid-template-columns: 1fr;
    }
}



/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

    .notification.success {
        background: #4CAF50;
    }

    .notification.error {
        background: #f44336;
    }

    .notification.warning {
        background: #FF9800;
    }

    .notification.info {
        background: #2196F3;
    }

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

.error-message {
    color: red;
}

.btn-primary {
}
.dashboard-container .btn-primary {
    border-radius: 20px;
}

.bnButton {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    align-items: center;
    gap: 8px;
    justify-content: center;
    background: linear-gradient(45deg, #005365, #1097c1);
    color: white;
    text-align: center;
    display: block;
}

    .bnButton .foreign-lang {
        font-size: 0.85em;
        color: white;
        display: block;
    }

    .bnButton i {
        margin-right: 5px;
    }

.card-title i {
    margin-right: 5px;
}



.xScrollBox {
}

.xScrollBox {
    height: 100px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #203f8d transparent;
    padding: 0 17px 0 0;
}


    .xScrollBox::-webkit-scrollbar {
        width: 8px;
    }

    .xScrollBox::-webkit-scrollbar-track {
        background: transparent;
    }

    .xScrollBox::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, #e0ca9f, #c9b58a);
        border-radius: 10px;
        transition: background 0.3s ease;
    }

        .xScrollBox::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(180deg, #d8bf8c, #bfa36d);
        }

.dashboard-container {
    display: flex;
    min-height: calc(100vh - 80px);
    margin-top: 20px;
    width: 100%;
}


#txtSearchtau {
    border-radius: 10px;
    overflow: hidden;
    padding: 0 10px;
    border: 1px solid #ddd;
    outline: none;
    border-radius: 20px;
    height:37.5px;
}

.searchFormxBox a {
    font-size: 15px;
    text-align: center;
    margin-top: 0;
    padding: 6px 30px;
    background: linear-gradient(45deg, #005365, #1097c1);
    background: linear-gradient(45deg, #005365, #1097c1) !important;
    color: white !important;
    border-radius: 20px;
}

#txtSearchtau::placeholder {
    font-size: 15px;
    color: #333;
}

.hidden {
    display: none !important;
}
@media (max-width: 700px) {
    .card-title {
       
        flex-wrap: wrap;
        justify-content: center !important;
    }
}