/* ===========================
   Customer Account Dropdown (FIXED)
   =========================== */

.header.panel .customer-account{
  position: relative;
  display: inline-block;
}

/* Keep dropdown open on hover OR keyboard focus */
.header.panel .customer-account:hover .customer-dropdown,
.header.panel .customer-account:focus-within .customer-dropdown{
  display:block;
}

/* Dropdown box */
.header.panel .customer-account .customer-dropdown{
  display:none;
  position:absolute;

  /* IMPORTANT: NO GAP so it won't close when moving mouse */
  top:100%;
  

  min-width: 200px;
  background:#fff;
  border:1px solid #e6e6e6;
  border-radius:10px;
  box-shadow:0 10px 24px rgba(0,0,0,.12);
  padding:6px 0;
  margin:0 !important;
  list-style:none;
  z-index:1000;
}

/* OPTIONAL: create an invisible "bridge" so even if there is 1px gap, it still stays open */
.header.panel .customer-account::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:100%;
  height:10px;              /* bridge area */
}

/* HARD RESET list spacing (this fixes the big gaps) */
.header.panel .customer-account .customer-dropdown li{
  margin:0 !important;
  padding:0 !important;
  line-height: 1 !important;
}

/* Link style (tight, eBay-like) */
.header.panel .customer-account .customer-dropdown li a{
  display:block !important;
  margin:0 !important;
  padding:10px 14px !important;

  font-size:14px !important;
  font-weight:400 !important;
  color:#000 !important;

  line-height: 1.2 !important;
  text-decoration:none !important;
  white-space:nowrap;
}

/* Hover */
.header.panel .customer-account .customer-dropdown li a:hover{
  background:#f7f7f7;
  color:#000 !important;
}

/* Login link (top) */
.header.panel .authorization-link > a.customer-name{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:14px;
  font-weight:500;
  color:#000;
  text-decoration:none;
}
.header.panel .authorization-link > a.customer-name:hover{
  color:#006340;
}
<style>
  @media (max-width: 767px) {
    .customer-account .de-mobile-logout{
      margin-top: 6px;
      padding: 10px 12px;
      border: 1px solid #e5e7eb;
      border-radius: 8px;
      background: #fff;
      color: #111;
      font-size: 14px;
      text-decoration: none;
      line-height: 1;
    }
  }
</style>
/* ===========================
   Deerab 2-column Login Page
   =========================== */

.de-login-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 14px 30px;
}

.de-login-header {
  margin: 6px 0 16px;
}
.de-login-h1 {
  font-size: 26px;
  line-height: 1.2;
  margin: 0 0 6px;
  color: #111;
  font-weight: 800;
}
.de-login-sub {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
}

.de-login-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.de-login-col {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  margin-top: 40px;
}

/* Make Magento blocks fit the card */
.de-login-col .block-title strong {
  font-size: 16px;
  font-weight: 800;
  color: #111;
}

.de-login-col .fieldset > .field {
  margin: 0 0 12px;
}

.de-login-col input[type="email"],
.de-login-col input[type="password"],
.de-login-col input[type="text"] {
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  height: 44px;
  padding: 10px 12px;
}

.de-login-col .action.login.primary,
.de-login-col .action.create.primary {
  border-radius: 10px;
  height: 44px;
  font-weight: 800;
  border: 0;
}

/* Login button */
.de-login-col--left .action.login.primary {
  background: #242424;
  color: #fff;
}
.de-login-col--left .action.login.primary:hover {
  filter: brightness(.95);
}

/* Create account button */
.de-login-col--right .action.create.primary {
  background: #111;
  color: #fff;
}
.de-login-col--right .action.create.primary:hover {
  filter: brightness(.95);
}

/* Links */
.de-login-col a {
  color: #ff6600;
  text-decoration: none;
}
.de-login-col a:hover {
  text-decoration: underline;
}

/* Mobile stack */
@media (max-width: 900px) {
  .de-login-grid { grid-template-columns: 1fr; }
  .de-login-wrap { padding: 14px 12px 26px; }
}
