/**
 * Styles for ba_header_items shortcode
 */

/* Auth buttons (not logged in) */
.header-auth-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-auth-buttons .btn-login {
    color: #000;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 15px;
    transition: all 0.3s ease;
    width: 110px;
}

.header-auth-buttons .btn-login:hover {
    color: #FFC842;
}

.header-auth-buttons .btn-register {
    background-color: #FFC842;
    color: white;
    font-weight: 600;
    text-decoration: none;
    padding: 0 !important;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-align: center;
    height: 35px;
    display: flex
;
    justify-content: center;
    align-items: anchor-center;
}

.header-auth-buttons .btn-register:hover {
    background-color: #003399;
}

/* User dropdown (logged in) */
.header-user-dropdown {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-balance {
    display: flex;
    align-items: center;
    gap: 5px;
}

.balance-label {
    font-size: 14px;
    color: #666;
}

.balance-amount {
    font-weight: 600;
    color: #333;
}

.user-account-dropdown {
    position: relative;
}

.user-icon {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.user-icon:hover {
    background-color: #f5f5f5;
}

.user-icon .fa-user-circle {
    font-size: 24px;
    color: #FF2800;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: -200px!important;
    width: 250px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 15px!important;
    display: none;
    z-index: 100;
}

.user-account-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-header {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.dropdown-header h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #333;
}

.dropdown-header p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: #f5f5f5;
}

.dropdown-item.create-auction {
    background-color: #ffc842;
    color: #333;
    margin-bottom: 10px;
}

.dropdown-item.create-auction:hover {
    background-color: #ffb800;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .header-user-dropdown {
        flex-direction: column;
        align-items: flex-end;
        gap: 5px;
    }
    
    .dropdown-menu {
        width: 220px;
        left: -180px !important;
    }
    a.btn-register {
        display: none !important;
    }
    a.btn-login {
        width: 100%;
        text-align: right;
    }

    .header-auth-buttons {
        display: flex;
        align-items: end;
        justify-content: end!important;
    }

    .header-auth-buttons .btn-login {
        padding: 8px 0px!important;
    }

    .dashboard-sections {
        width: 100% !important;
        overflow: scroll;
    }

    .ba_dashboard_container {
        width: 100% !important;
        max-width: 100% !important;
    }

    .main-content {
        padding: 15px!important;
        width: 100%;
    }

    .user-actions {
        flex-wrap: wrap;
        gap: 15px;
    }

    .wallet-status {
        width: 100%;
    }

    .user-actions button {
        width: 45% !important;
        margin: 0;
    }

    .ba_dashboard_container .sidebar {
        display: none;
    }
}

.ba-user-not-logged-in a.woo-wallet-menu-contents {
    display: none;
}