/* styles.css - minimal styles for WireTrf pages */
/* basic reset */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{font-family: 'Poppins', Arial, sans-serif;background:#071250;color:#111}

/* Page: login */
.page-login { min-height:100vh; display:flex; align-items:center; justify-content:center; background:#eef3fb; position:relative; }
.login-wrap { width:100%; max-width:900px; padding:3rem; }
.login-card {
  background: #ff8200; /* orange card */
  border-radius:40px;
  padding:3rem 3.5rem;
  max-width:700px;
  margin:0 auto;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
  position:relative;
}
.logo-small{height:48px;margin-bottom:16px}
.login-title{font-size:48px;color:#2f0a6f;margin-bottom:32px;text-align:center}
.login-form{display:flex;flex-direction:column;gap:20px;align-items:center}
.login-form input[type="text"], .login-form input[type="password"]{
  width:70%;
  max-width:520px;
  padding:18px 22px;
  border-radius:26px;
  border:0;
  outline:none;
  box-shadow:inset 0 0 0 2px rgba(255,255,255,0.6); 
  font-size:16px;
}
.btn-primary{
  background:#371258;
  color:#fff;
  padding:16px 48px;
  border-radius:20px;
  border:0;
  font-size:18px;
  cursor:pointer;
  box-shadow: 0 6px 14px rgba(55,18,88,0.4);
}
.alert{background:#ffe7e7;color:#8b0000;padding:10px 14px;border-radius:8px;margin-bottom:12px;text-align:center;width:80%;margin-left:auto;margin-right:auto}

/* small screens adjustments */
@media(max-width:720px){
  .login-card{border-radius:28px;padding:2rem}
  .login-title{font-size:34px}
  .login-form input[type="text"], .login-form input[type="password"]{width:100%}
}

/* Dashboard Design */
.dash-page {
  background: #0A0F4D;
  font-family: 'Poppins', sans-serif;
  padding: 40px;
  color: white;
}

.dash-wrapper {
  max-width: 900px;
  margin: auto;
}

.dash-logo {
  width: 120px;
  margin-bottom: 15px;
}

.dash-welcome {
  font-size: 16px;
  opacity: 0.8;
  margin: 0;
}

.dash-name {
  font-size: 48px;
  font-weight: 500;
  margin: 0 0 40px 0;
}

.dash-row {
  display: flex;
  gap: 25px;
  margin-bottom: 30px;
}

.dash-card {
  flex: 1;
  border-radius: 22px;
  padding: 35px 40px;
  text-decoration: none;
  color: white;
  display: block;
}

.dash-card.full {
  width: 100%;
  margin-bottom: 30px;
}

/* Colors */
.orange { background: #FF7A00; }
.red    { background: #FF2A2A; }
.purple { background: #A328FF; }
.white  { background: white; color: #000; }

/* Text formatting */
.dash-card h2 {
  font-size: 36px;
  margin: 0 0 25px 0;
  font-weight: 500;
}

.dash-line {
  width: 100%;
  height: 1.4px;
  background: #fff;
  margin-bottom: 18px;
  opacity: 0.7;
}
.dash-line.dark { background: #000; opacity: 0.4; }

.dash-card p {
  font-size: 14px;
  letter-spacing: 0.6px;
  font-weight: 400;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.green { color: #007A4D; }

.arrow {
  font-size: 20px;
  font-weight: 600;
  margin-left: 6px;
}

/* Hover */
.dash-card:hover {
  transform: translateY(-3px);
  transition: 0.3s;
}

/* Mobile */
@media(max-width:700px){
  .dash-row { flex-direction: column; }
}

/* Create Billing Page */
.form-page {
  background: #E9ECF8;
  padding: 40px;
  font-family: 'Poppins', sans-serif;
}

.form-wrapper {
  background: white;
  width: 90%;
  max-width: 850px;
  margin: auto;
  padding: 45px;
  border-radius: 22px;
  box-shadow: 0 0 30px rgba(0,0,0,0.12);
}

.form-line {
  width: 100%;
  height: 2px;
  background: #ddd;
  margin: 10px 0 25px 0;
}

form label {
  display: block;
  margin-top: 15px;
  font-weight: 500;
  color: #333;
}

form input, form select {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-top: 5px;
  font-size: 15px;
}

/* Blue selects (match design) */
form select {
  background: #001CFF;
  color: white;
  border: none;
}

/* Buttons */
.form-buttons {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.btn-save {
  background: #0074FF;
  color: white;
  padding: 12px 30px;
  border-radius: 8px;
  border: none;
}

.btn-close {
  background: #bbb;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  color: black;
}

.pay-logos {
  display: flex;
  flex-wrap: wrap;        /* ✅ allows wrapping on small screens */
  gap: 22px;              /* reduce spacing slightly for mobile */
  align-items: center;
  justify-content: center;
  margin: 35px 0 15px 0;
  padding: 0 10px;        /* adds breathing room on mobile */
}

.pay-logos img {
  height: 24px;           /* ✅ slightly smaller so they fit clean */
  max-width: 100%;
  opacity: 0.85;
  transition: 0.3s ease;
}

.pay-logos img:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* ✅ mobile layout fix */
@media(max-width: 600px){
  .pay-logos {
    gap: 14px;
  }
  .pay-logos img {
    height: 20px;
  }


.legal {
  font-size: 11px;
  line-height: 1.5;
  color: #D7D8F1;
  opacity: .9;
  text-align: center;      /* ✅ THIS CENTERS IT */
  width: 100%;             /* ensures full line width */
  margin-top: 20px;        /* optional spacing improvement */
}

.home-btn {
  display:inline-block;
  padding:10px 18px;
  background:#FF7A00;
  border-radius:8px;
  color:#fff;
  font-weight:500;
  text-decoration:none;
}
.home-btn:hover { opacity:.9; }
}