/* ======================================================
   PAGINA TERMENI ȘI CONDIȚII
   Extensie pentru ovp-auth.css
====================================================== */

/* Main container pentru termeni */
.ovp-terms-main {
  flex: 1;
  padding: 40px 20px;
  max-width: 100%;
}

.ovp-terms-container {
  max-width: 900px;
  margin: 0 auto;
}

/* Header secțiune termeni */
.ovp-terms-header {
  text-align: center;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 2px solid var(--ovp-line);
}

.ovp-terms-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--ovp-card);
  border: 2px solid var(--ovp-line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ovp-terms-icon .dashicons {
  font-size: 40px;
  width: 40px;
  height: 40px;
  color: var(--ovp-accent);
}

.ovp-terms-header h1 {
  margin: 0 0 12px 0;
  font-size: 36px;
  font-weight: 700;
  color: var(--ovp-text);
}

.ovp-terms-subtitle {
  font-size: 16px;
  color: var(--ovp-muted);
  margin: 0 0 8px 0;
}

.ovp-terms-date {
  font-size: 13px;
  color: var(--ovp-muted);
  font-style: italic;
  margin: 0;
}

/* Conținut termeni */
.ovp-terms-content {
  background: var(--ovp-card);
  border: 1px solid var(--ovp-line);
  border-radius: var(--ovp-radius);
  padding: 48px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  margin-bottom: 32px;
}

/* Secțiuni */
.ovp-terms-section {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--ovp-line);
}

.ovp-terms-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.ovp-terms-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--ovp-accent);
  margin: 0 0 16px 0;
}

.ovp-terms-section h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ovp-text);
  margin: 24px 0 12px 0;
}

.ovp-terms-section h4 {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin: 20px 0 12px 0;
}

/* Light mode pentru h4 */
body.ovp-light-mode .ovp-terms-section h4 {
  color: #0f172a;
}

.ovp-terms-section p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ovp-text);
  margin: 0 0 16px 0;
}

.ovp-terms-section p:last-child {
  margin-bottom: 0;
}

.ovp-terms-section strong {
  color: var(--ovp-accent);
  font-weight: 600;
}

/* Liste */
.ovp-terms-list {
  margin: 16px 0;
  padding-left: 24px;
  list-style: none;
}

.ovp-terms-list li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ovp-text);
  margin-bottom: 12px;
  position: relative;
  padding-left: 24px;
}

.ovp-terms-list li:before {
  content: "▸";
  color: var(--ovp-accent);
  font-size: 18px;
  position: absolute;
  left: 0;
  top: 0;
}

/* Info Contact */
.ovp-contact-info {
  background: rgba(205, 2, 2, 0.1);
  border-left: 4px solid var(--ovp-accent);
  padding: 20px 24px;
  border-radius: 8px;
  margin-top: 16px;
}

.ovp-contact-info p {
  margin: 8px 0;
  font-size: 14px;
}

.ovp-contact-info a {
  color: var(--ovp-accent);
  text-decoration: none;
  font-weight: 600;
}

.ovp-contact-info a:hover {
  text-decoration: underline;
}

/* Notice Box */
.ovp-terms-notice {
  background: rgba(205, 2, 2, 0.1);
  border: 1px solid var(--ovp-accent);
  border-radius: 10px;
  padding: 20px 24px;
  margin-top: 24px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.ovp-terms-notice .dashicons {
  color: var(--ovp-accent);
  font-size: 24px;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.ovp-terms-notice strong {
  color: var(--ovp-accent);
}

/* Acceptance Box */
.ovp-terms-acceptance {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 2px solid var(--ovp-line);
}

/* Butoane Acțiuni */
.ovp-terms-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.ovp-btn-secondary {
  background: transparent;
  border: 1px solid var(--ovp-line);
  color: var(--ovp-text);
}

.ovp-btn-secondary:hover {
  background: var(--ovp-line);
  transform: translateY(-2px);
}

/* Light Mode pentru Termeni */
body.ovp-light-mode .ovp-terms-content {
  background: #ffffff;
  border-color: var(--ovp-line);
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

body.ovp-light-mode .ovp-terms-icon {
  background: #f9fafb;
  border-color: var(--ovp-line);
}

body.ovp-light-mode .ovp-contact-info {
  background: rgba(205, 2, 2, 0.05);
}

body.ovp-light-mode .ovp-terms-notice {
  background: rgba(205, 2, 2, 0.05);
}

/* Print Styles */
@media print {
  .ovp-auth-header,
  .ovp-auth-bottom,
  .ovp-terms-actions,
  .ovp-theme-toggle {
    display: none !important;
  }
  
  .ovp-terms-content {
    border: none;
    box-shadow: none;
    padding: 0;
  }
  
  .ovp-terms-section {
    page-break-inside: avoid;
  }
  
  body {
    background: white !important;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .ovp-terms-main {
    padding: 24px 16px;
  }
  
  .ovp-terms-header h1 {
    font-size: 28px;
  }
  
  .ovp-terms-content {
    padding: 32px 24px;
  }
  
  .ovp-terms-section h2 {
    font-size: 20px;
  }
  
  .ovp-terms-section h3 {
    font-size: 16px;
  }
  
  .ovp-terms-actions {
    flex-direction: column;
  }
  
  .ovp-terms-actions .ovp-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .ovp-terms-content {
    padding: 24px 20px;
  }
  
  .ovp-terms-header {
    margin-bottom: 32px;
  }
  
  .ovp-terms-icon {
    width: 64px;
    height: 64px;
  }
  
  .ovp-terms-icon .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
  }
}
