* {
  box-sizing: border-box;
  font-family: Inter, sans-serif;
}

body {
  margin: 0;
  background: #fff;
  height: 100vh;
  overflow: hidden;
}

/* Background */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
}

.bg img,
.bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}

/* Navbar */
nav {
  display: flex;
  justify-content: space-between;
  padding: 20px 40px;
}

.logo {
  font-weight: bold;
  font-size: 22px;
}

.nav-right button {
  margin-left: 10px;
}

/* Main */
.container {
  height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding-left: 80px;
}

.card {
  background: white;
  width: 340px;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 30px 60px rgba(0,0,0,.12);
}

/* Buttons */
.primary {
  background: #3f6cf4;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
}

.ghost {
  background: transparent;
  border: none;
}

.full {
  width: 100%;
  margin-top: 20px;
}

/* Dropzone */
.dropzone {
  margin-top: 15px;
  padding: 20px;
  border: 2px dashed #ddd;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
}
/* ===============================
   WE-TRANSFER STYLE CARD
================================ */

.w-card {
  width: 360px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);
  overflow: hidden;
  font-size: 14px;
}

/* Header */
.w-header {
  text-align: center;
  padding: 14px;
  font-weight: 600;
  border-bottom: 1px solid #eee;
  background: #fafafa;
}

/* Add buttons */
.w-add-row {
  display: flex;
  gap: 10px;
  padding: 16px;
}

.w-add-box {
  flex: 1;
  background: #e9f0ff;
  border-radius: 10px;
  padding: 16px 10px;
  text-align: center;
  cursor: pointer;
  color: #3f6cf4;
  font-weight: 500;
  transition: background .2s;
}

.w-add-box:hover {
  background: #dfe9ff;
}

.w-add-box.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.w-plus {
  display: block;
  font-size: 26px;
  margin-bottom: 4px;
}

/* Limit text */
.w-limit {
  padding: 0 16px 10px;
  font-size: 12px;
  color: #666;
}

.w-upgrade {
  color: #6b2cff;
  font-weight: 600;
  cursor: pointer;
  margin-left: 4px;
}

/* Inputs */
.w-inputs {
  padding: 0 16px;
}

.w-inputs input,
.w-inputs textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #ddd;
  padding: 10px 4px;
  margin-bottom: 10px;
  font-size: 13px;
  outline: none;
}

.w-inputs textarea {
  resize: none;
  height: 60px;
}

.w-inputs input::placeholder,
.w-inputs textarea::placeholder {
  color: #aaa;
}

/* Bottom */
.w-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
}

.w-expiry {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 8px 12px;
  font-size: 13px;
  color: #3f6cf4;
}

/* Transfer button */
.w-transfer {
  width: 100%;
  background: #3f6cf4;
  color: white;
  border: none;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 25px;
  cursor: pointer;
  transition: background .2s;
}

.w-transfer:hover {
  background: #3457d5;
}

/* Progress / messages */
.progress {
  margin: 10px 16px;
}

.error {
  color: red;
  font-size: 12px;
  padding: 0 16px 10px;
}

.success {
  font-size: 12px;
  padding: 0 16px 10px;
  word-break: break-all;
}

/* ===============================
   FIX 1: PAGE CENTER ALIGNMENT
================================ */
.page-center {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: left;
  padding-left: 50px;
}

/* ===============================
   FIX 2: EXPIRY SELECT (REAL DROPDOWN)
================================ */
.w-expiry-select {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 8px 12px;
  font-size: 13px;
  color: #3f6cf4;
  background: #fff;
  outline: none;
  cursor: pointer;
  appearance: none;
}

/* Dropdown arrow look */
.w-expiry-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%233f6cf4' fill='none' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 30px;
}

/* ===============================
   FIX 3: TRANSFER BUTTON VISIBILITY
================================ */
.w-bottom .w-transfer {
  width: auto;
  min-width: 120px;
  flex-shrink: 0;
}

/* ===============================
   FIX 4: REMOVE OLD EXPIRY BOX CONFLICT
================================ */
.w-expiry {
  display: none;
}

/* ===============================
   POLISH (OPTIONAL BUT RECOMMENDED)
================================ */

/* Better card shadow */
.w-card {
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

/* Input focus */
.w-inputs input:focus,
.w-inputs textarea:focus {
  border-bottom-color: #3f6cf4;
}

/* Button hover */
.w-transfer:hover {
  background: #2f56e0;
}
.mode-switch {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.mode-switch button {
  flex: 1;
  padding: 8px;
  border-radius: 20px;
  border: 1px solid #ddd;
  background: white;
  cursor: pointer;
}

.mode-switch button.active {
  background: #3f6cf4;
  color: white;
  border-color: #3f6cf4;
}
