/* Stiluri aplicație - Design v2 (alb, curat) */
:root {
  --primary: #0068a5;
  --primary-light: #0080cc;
  --primary-dark: #004d7a;
  --primary-subtle: rgba(0,104,165,0.08);
  --primary-border: rgba(0,104,165,0.2);
  --bg: #ffffff;
  --bg-secondary: #f7f8fa;
  --bg-tertiary: #eef1f5;
  --border: #e2e5ea;
  --border-light: #eef1f5;
  --text: #1a1f2b;
  --text-secondary: #5a6275;
  --text-muted: #8c92a1;
  --success: #0f8a4f;
  --success-bg: rgba(15,138,79,0.08);
  --success-border: rgba(15,138,79,0.2);
  --danger: #d63031;
  --danger-bg: rgba(214,48,49,0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  min-height: 100vh; background: var(--bg); color: var(--text);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 60px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon {
  width: 30px; height: 30px; border-radius: 8px; background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 14px;
}
.logo-text { font-size: 17px; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.logo:hover { text-decoration: none; }
nav { display: flex; gap: 2px; }
.nav-btn {
  background: none; border: none; color: var(--text-secondary);
  padding: 8px 14px; border-radius: 6px; cursor: pointer;
  font-size: 14px; font-family: inherit; transition: all 0.15s ease;
  font-weight: 500; text-decoration: none;
}
.nav-btn:hover { color: var(--text); background: var(--bg-secondary); text-decoration: none; }
.nav-btn.active { color: var(--primary); background: var(--primary-subtle); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.pro-badge {
  font-size: 11px; font-weight: 600; color: var(--primary);
  background: var(--primary-subtle); border: 1px solid var(--primary-border);
  padding: 3px 10px; border-radius: 4px;
}
.avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--primary); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none;
}

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--primary); color: white;
  border: none; padding: 10px 24px; border-radius: 8px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  font-family: inherit; transition: all 0.15s ease; text-decoration: none;
}
.btn-primary:hover { background: var(--primary-light); color: white; text-decoration: none; }
.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: white; color: var(--text);
  border: 1px solid var(--border); padding: 10px 24px; border-radius: 8px;
  font-size: 14px; font-weight: 500; cursor: pointer;
  font-family: inherit; transition: all 0.15s ease; text-decoration: none;
}
.btn-secondary:hover { background: var(--bg-secondary); border-color: #ccd0d8; text-decoration: none; }
.btn-small { padding: 7px 16px; font-size: 13px; }
.btn-link {
  background: none; border: none; color: var(--primary);
  font-size: 13px; cursor: pointer; font-family: inherit;
  font-weight: 500; padding: 4px 8px; text-decoration: none;
}
.btn-link:hover { text-decoration: underline; }
.btn-block { width: 100%; }

/* Page */
.page-container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Upload zone */
.upload-zone {
  border: 2px dashed var(--border); border-radius: 12px;
  padding: 56px 40px; text-align: center; cursor: pointer;
  transition: all 0.2s ease; background: var(--bg-secondary);
}
.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--primary); background: var(--primary-subtle);
}
.encrypt-badge {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--success); font-size: 12px; font-weight: 500;
}

/* Cards */
.card {
  background: var(--bg); border: 1px solid var(--border-light);
  border-radius: 10px; box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.card-body { padding: 20px; }

/* File items */
.file-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; background: var(--bg-secondary);
  border-radius: 8px; margin-bottom: 6px;
  border: 1px solid var(--border-light); transition: all 0.15s ease;
}
.file-item:hover { border-color: var(--border); }
.file-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--primary-subtle);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.file-info-row { display: flex; align-items: center; gap: 12px; }
.file-remove {
  background: none; border: none; color: var(--text-muted); cursor: pointer;
  font-size: 18px; padding: 4px; transition: color 0.15s; line-height: 1;
}
.file-remove:hover { color: var(--danger); }

/* Progress */
.progress-bar { height: 4px; background: var(--bg-tertiary); border-radius: 2px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--primary); border-radius: 2px; transition: width 0.3s ease; }
.progress-bar-lg { height: 6px; border-radius: 3px; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.glow-dot {
  width: 7px; height: 7px; background: var(--primary);
  border-radius: 50%; animation: pulse 1.5s ease infinite; display: inline-block;
}

/* Summary */
.summary-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; background: var(--bg-secondary);
  border-radius: 8px; border: 1px solid var(--border-light); margin-bottom: 20px;
}

/* Inputs */
.form-group { margin-bottom: 12px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; color: var(--text-secondary); margin-bottom: 4px; }
.input-field {
  width: 100%; background: white; border: 1px solid var(--border);
  border-radius: 8px; padding: 10px 14px; color: var(--text);
  font-size: 14px; font-family: inherit; outline: none;
  transition: border-color 0.15s ease;
}
.input-field:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-subtle); }

/* Link box */
.link-box {
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: 8px; padding: 12px 16px;
  display: flex; align-items: center; gap: 10px; margin: 16px 0;
}
.link-box input {
  flex: 1; background: none; border: none; color: var(--primary);
  font-family: 'Space Mono', monospace; font-size: 12px; outline: none;
}

/* Success icon */
.success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--success-bg); border: 2px solid var(--success-border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 28px; color: var(--success);
}

/* Plans */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 900px; margin: 0 auto; }
.plan-card {
  background: white; border: 1px solid var(--border);
  border-radius: 12px; padding: 32px 24px; transition: all 0.2s ease; position: relative;
}
.plan-card:hover { border-color: #ccd0d8; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.plan-card.popular { border-color: var(--primary); border-width: 2px; }
.badge-popular {
  position: absolute; top: -11px; right: 16px;
  background: var(--primary); color: white;
  font-size: 10px; font-weight: 700; padding: 3px 12px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.plan-features { list-style: none; margin-bottom: 24px; }
.plan-features li {
  font-size: 13px; color: var(--text-secondary); padding: 5px 0;
  display: flex; align-items: center; gap: 8px;
}
.plan-features .check { color: var(--primary); font-size: 13px; flex-shrink: 0; }

/* Dashboard */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 32px; }
.stat-card {
  background: white; border: 1px solid var(--border); border-radius: 10px; padding: 20px 18px;
}
.stat-label { font-size: 11px; color: var(--text-muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 500; }
.stat-value { font-size: 26px; font-weight: 700; }

.transfer-table {
  background: white; border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
}
.transfer-row {
  display: grid; grid-template-columns: 2fr 0.7fr 0.8fr 1fr 0.8fr 0.7fr;
  align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--border-light);
  transition: background 0.1s ease; gap: 12px;
}
.transfer-row:last-child { border-bottom: none; }
.transfer-row:hover { background: var(--bg-secondary); }
.transfer-header {
  border-bottom: 1px solid var(--border); font-size: 11px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600;
  background: var(--bg-secondary);
}
.status-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 4px; font-size: 12px; font-weight: 500;
}
.status-active { background: var(--success-bg); color: var(--success); }
.status-expired { background: var(--bg-tertiary); color: var(--text-muted); }
.status-pending { background: rgba(249,115,22,0.08); color: #ea580c; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; display: inline-block; }

/* Auth */
.auth-container { max-width: 400px; margin: 60px auto; padding: 0 24px; }
.auth-card {
  background: white; border: 1px solid var(--border);
  border-radius: 14px; padding: 32px; box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* Alerts */
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; }
.alert-success { background: var(--success-bg); color: var(--success); border: 1px solid var(--success-border); }
.alert-error { background: var(--danger-bg); color: var(--danger); border: 1px solid rgba(214,48,49,0.2); }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 20px 0; margin-top: 40px; }
.footer-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--text-muted);
}
.footer-links { display: flex; gap: 16px; }
.footer-links a { color: var(--text-muted); text-decoration: none; }
.footer-links a:hover { color: var(--text-secondary); }

/* Utility */
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 13px; }
.text-xs { font-size: 12px; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }

@media (max-width: 768px) {
  .plans-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .transfer-row { grid-template-columns: 1fr 1fr; font-size: 13px; }
  .header-inner { padding: 0 16px; }
  nav { gap: 0; }
  .nav-btn { padding: 8px 10px; font-size: 13px; }
}

/* ==========================================
   AUTH UPDATE - CSS ADITIONAL
   Adauga acest cod la SFARSITUL fisierului css/style.css
   ========================================== */

/* Password toggle button */
.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    padding: 4px;
    display: flex;
    align-items: center;
}
.password-toggle:hover {
    color: var(--text-secondary);
}

/* Alerts */
.alert {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 16px;
}
.alert-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}
.alert-success {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

/* Form groups */
.form-group {
    margin-bottom: 12px;
    position: relative;
}

/* Margins */
.mb-4 { margin-bottom: 16px; }
.mt-3 { margin-top: 12px; }

/* Text helpers */
.text-sm { font-size: 13px; }
.text-muted { color: var(--text-muted); }

/* Button block */
.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Success icon */
.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--success);
    color: #fff;
    border-radius: 50%;
    font-size: 28px;
    margin-bottom: 16px;
}

/* ==========================================
   CSS ADDITIONS - Feature Update
   Adauga la sfarsitul fisierului css/style.css
   ========================================== */

/* Language Switcher */
.lang-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    text-decoration: none;
    transition: all 0.15s;
    letter-spacing: 0.02em;
}
.lang-switch:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Account Tabs */
.account-tab {
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all 0.15s;
}
.account-tab:hover {
    color: var(--text-primary);
}
.account-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Form label */
.form-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

/* Pricing features */
.pricing-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 13px;
    color: var(--text-secondary);
}
.pricing-feature span {
    color: var(--success);
    font-weight: 700;
}

/* Transfer row in dashboard */
.transfer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-light);
    text-decoration: none;
    color: inherit;
    transition: background 0.1s;
}
.transfer-row:hover {
    background: var(--bg-secondary);
}
.transfer-row:last-child {
    border-bottom: none;
}

/* Card utility */
.card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 10px;
}

/* ==========================================
   CSS ADDITIONS - Feature Update
   Adauga la sfarsitul fisierului css/style.css
   ========================================== */

/* Language Switcher */
.lang-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    text-decoration: none;
    transition: all 0.15s;
    letter-spacing: 0.02em;
}
.lang-switch:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Account Tabs */
.account-tab {
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all 0.15s;
}
.account-tab:hover {
    color: var(--text-primary);
}
.account-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Form label */
.form-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

/* Pricing features */
.pricing-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 13px;
    color: var(--text-secondary);
}
.pricing-feature span {
    color: var(--success);
    font-weight: 700;
}

/* Transfer row in dashboard */
.transfer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-light);
    text-decoration: none;
    color: inherit;
    transition: background 0.1s;
}
.transfer-row:hover {
    background: var(--bg-secondary);
}
.transfer-row:last-child {
    border-bottom: none;
}

/* Card utility */
.card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 10px;
}

/* ==========================================
   Features Grid & Cards
   ========================================== */

/* Features page */
.features-section-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 16px;
    margin-top: 40px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
@media (max-width: 640px) {
    .features-grid { grid-template-columns: 1fr; }
}

/* Features page cards (full) */
.feature-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
    transition: border-color 0.15s;
}
.feature-card:hover {
    border-color: var(--primary);
}
.feature-icon {
    font-size: 28px;
    margin-bottom: 10px;
}
.feature-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}
.feature-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Homepage mini cards */
.feature-card-mini {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px;
    transition: border-color 0.15s;
}
.feature-card-mini:hover {
    border-color: var(--primary);
}
.feature-icon-mini {
    font-size: 22px;
    margin-bottom: 8px;
}
.feature-title-mini {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}
.feature-desc-mini {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.45;
}
