:root{
  --bg:#f6f7fb;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#475569;
  --line:#e6ebf2;
  --btn:#2563eb;
  --btnText:#ffffff;
  --danger:#b91c1c;
  --ok:#15803d;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container{
  max-width: 560px;
  margin: 0 auto;
  padding: 10px 14px 34px;
}

.card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 6px 24px rgba(17,24,39,0.06);
}

h1{
  font-size: 22px;
  font-weight: 900;
  margin: 0 0 10px 0;
  line-height: 1.25;
}

p{
  margin: 0 0 14px 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.label{
  font-size: 16px;
  color: var(--text);
  margin: 14px 0 8px;
  font-weight: 800;
}

input{
  width:100%;
  padding: 16px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--text);
  font-size: 18px;
  outline: none;
}

input::placeholder{
  color: #9aa3b2;
  opacity: 1;
}

input:focus{
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(147,197,253,0.35);
}

.btn{
  width:100%;
  padding: 16px 16px;
  border-radius: 16px;
  border: 0;
  background: var(--btn);
  color: var(--btnText);
  font-size: 18px;
  font-weight: 900;
  margin-top: 18px;
  cursor:pointer;
}

.btn:disabled{
  opacity: .6;
  cursor:not-allowed;
}

.status{
  margin-top: 14px;
  font-size: 15px;
  color: var(--muted);
}

.status.ok{ color: var(--ok); }
.status.err{ color: var(--danger); }

/* Wrap pt input + dropdown */
.selectWrap{
  position: relative;
}

/* Dropdown PRO */
.dropdown{
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(17,24,39,0.12);
  overflow: hidden;
  z-index: 9999;
  max-height: 260px;
  overflow-y: auto;
}

.dropdownItem{
  padding: 14px 14px;
  font-size: 18px;
  line-height: 1.2;
  cursor: pointer;
  border-bottom: 1px solid #eef0f5;
}

.dropdownItem:last-child{
  border-bottom: none;
}

.dropdownItem:hover,
.dropdownItem.active{
  background: #eef5ff;
}

/* ---------- Brand bar (credibilitate 45+) ---------- */
.brandbar{
  max-width: 560px;
  margin: 12px auto 10px auto;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 6px 24px rgba(17,24,39,0.06);
}

.brand-left{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo{
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 0;
  transform: scale(1.2);
  transform-origin: center;
}

.brand-text{
  min-width: 0;
}

.brand-name{
  font-size: 18px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.15;
}

.brand-sub{
  font-size: 13px;
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.25;
}

.brand-right{
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f5f7fb;
  border: 1px solid var(--line);
  padding: 8px 10px;
  border-radius: 999px;
  color: #0f172a;
  font-weight: 800;
  font-size: 13px;
  white-space: nowrap;
}

.lock{
  font-size: 14px;
  line-height: 1;
  opacity: 0.9;
}

.secure-label{
  letter-spacing: 0.2px;
}

@media (max-width: 520px){
  .container{
    padding: 10px 12px 28px;
  }

  .brandbar{
    margin: 10px auto 10px auto;
    padding: 12px 12px;
  }

  .brand-logo{
    width: 56px;
    height: 56px;
    padding: 6px;
  }

  .brand-name{
    font-size: 18px;
  }

  .brand-sub{
    font-size: 13px;
  }

  .brand-right{
    padding: 7px 9px;
    font-size: 12px;
  }
}

.dropdownEmpty{
  padding: 14px 14px;
  font-size: 16px;
  color: var(--muted);
}
