/* Doktor365 Ödeme Sistemi CSS */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
/* Genel Stiller */
body {
  background-color: #f8f9fa;
  font-family: 'Inter', sans-serif;
  font-optical-sizing: auto;
  color: #333;
  min-height: 100vh;
  font-size: 14px;
  padding-left: 30px;
  padding-right: 30px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

h1{
  font-size: 2rem;
}

h2{
  font-size: 1.5rem;
}

h3{
  font-size: 1.2rem;
}

h4{
  font-size: 1rem;
}

h5{
  font-size: 0.9rem;
}

p, a, span, li, label, input, textarea, button {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

.fw-light {
  font-weight: 300 !important;
}

.fw-regular {
  font-weight: 400 !important;
}

.fw-medium {
  font-weight: 500 !important;
}

.fw-semibold {
  font-weight: 600 !important;
}

.fw-bold {
  font-weight: 700 !important;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0;
}

/* Yazdırma Stilleri */
@media print {
  body {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
  .no-print {
    display: none !important;
  }
  .card {
    box-shadow: none !important;
    border: none !important;
  }
  .container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  body {
    background-color: white !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  .print-mb-5 {
    margin-bottom: 3rem !important;
  }
}

/* Logo Stilleri */
.receipt-logo {
  max-height: 70px;
}

.secondary-logo {
  max-height: 40px;
}

/* Fatura Numarası */
.invoice-number {
  text-align: right;
  padding: 10px 0;
}

.invoice-number h3 {
  color: #369aff;
  margin-top: 5px;
}

/* Home Wrapper */
.home-wrapper {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 20px;
  margin: 20px 0;
}

/* Konteyner */
.payment-container {
  max-width: 900px;
  margin: 40px auto;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Header */
.header {
  text-align: center;
  padding: 40px 20px;
  background-color: transparent;
  margin-bottom: 30px;
}

.header img {
  max-width: 200px;
  margin-bottom: 20px;
}

.header h1 {
  margin-bottom: 10px;
  color: #369aff;
  font-weight: 600;
}

.header p.lead {
  color: #6c757d;
  font-size: 1.1rem;
}

/* Ana Sayfa İçerik */
.home-description {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 30px;
  margin: 30px auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  max-width: 700px;
  line-height: 1.6;
  color: #555;
  font-size: 18px;
}

/* İçerik */
.content {
  flex: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

.feature-box {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-box h3 {
  color: #0056b3;
  margin-bottom: 15px;
}

.feature-box p {
  color: #666;
  margin-bottom: 0;
}

.feature-icon {
  font-size: 40px;
  color: #0056b3;
  margin-bottom: 20px;
}

/* Footer */
.footer {
  text-align: center;
  padding: 20px;
  background-color: #f1f1f1;
  color: #666;
  font-size: 14px;
  border-radius: 10px;
  margin-top: 30px;
}

/* Payment Header */
.payment-header {
  background-color: #f8f9fa;
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid #eee;
  position: relative;
}

.logo {
  max-width: 200px;
  margin-bottom: 20px;
}

.payment-content {
  display: flex;
  flex-wrap: wrap;
}

.payment-details {
  flex: 1;
  min-width: 300px;
  padding: 30px;
  border-right: 1px solid #eee;
}

.payment-form {
  flex: 1;
  min-width: 300px;
  padding: 30px;
}

.payment-form h3 {
  margin-bottom: 20px;
  color: #444;
}

/* Form Elemanları */
.form-group {
  margin-bottom: 20px;
}

/* Dil Seçici */
.language-selector {
  text-align: right;
  margin-bottom: 20px;
}

.language-selector a {
  margin-left: 10px;
  text-decoration: none;
  color: #7f8c8d;
  padding: 5px 10px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.language-selector a.active {
  font-weight: 600;
  color: #fff;
  background-color: #0056b3;
}

.language-selector a:hover:not(.active) {
  background-color: #f1f1f1;
}

/* Fiyat Detayları */
.price-details {
  background-color: #f8f9fa;
  border-radius: 5px;
  padding: 15px;
  margin-top: 20px;
}

.price-details h5 {
  margin-bottom: 10px;
  color: #444;
}

/* Ödeme Sağlayıcısı */
.payment-provider {
  text-align: center;
  margin-top: 20px;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.payment-provider p {
  color: #6c757d;
  margin-bottom: 10px;
}

.payment-provider img {
  max-width: 200px;
  margin-top: 10px;
}

/* Ödeme Buton */
.btn-pay {
  background-color: #369aff;
  color: white;
  padding: 12px 20px;
  border: none;
  width: 100%;
  font-weight: 600;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-pay:hover {
  background-color: #003d7e;
}

.secure-badge {
  text-align: center;
  margin-top: 20px;
  color: #6c757d;
  font-size: 14px;
}

/* Kart Simgeleri */
.card-icons {
  margin: 15px 0;
  text-align: center;
}

.card-icons i {
  font-size: 30px;
  margin: 0 5px;
  color: #6c757d;
}

/* Mesajlar */
.expired-message {
  background-color: #f8d7da;
  color: #721c24;
  padding: 20px;
  border-radius: 5px;
  margin-bottom: 20px;
  text-align: center;
}

.success-message {
  background-color: #d4edda;
  color: #155724;
  padding: 20px;
  border-radius: 5px;
  margin-bottom: 20px;
  text-align: center;
}

.text-primary {
  color: #369aff !important;
}

.btn-primary {
  background-color: #369aff !important;
  border-color: #369aff !important;
}
.btn-primary:focus,
.btn-primary:active,
.btn-primary:hover {
  background-color: #003d7e !important;
  border-color: #003d7e !important;
}

a{
  color: #369aff !important;

}

a:hover{
  color: #003d7e !important;
}

/* Detay Satırları */
.detail-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.detail-row:last-child {
  margin-bottom: 20px;
}

.detail-label {
  font-weight: 600;
  color: #6c757d;
}

.detail-value {
  text-align: right;
}

/* Makbuz Stilleri */
.receipt-container {
  margin: 20px auto;
  padding: 30px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.receipt-header {
  margin-bottom: 30px;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 20px;
}

.receipt-header img {
  max-height: 50px;
  margin-bottom: 15px;
}

.receipt-title {
  font-size: 24px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 5px;
}

.receipt-subtitle {
  font-size: 14px;
  color: #7f8c8d;
}

.receipt-info {
  margin-bottom: 30px;
}

.receipt-label {
  font-weight: 600;
  color: #7f8c8d;
  font-size: 14px;
}

.receipt-value {
  font-size: 15px;
  margin-bottom: 15px;
}

.receipt-table {
  margin: 30px 0;
}

.receipt-table th {
  background-color: #f8f9fa;
  font-weight: 600;
  color: #2c3e50;
}

.receipt-total {
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
}

.receipt-footer {
  margin-top: 30px;
  text-align: center;
  font-size: 14px;
  color: #7f8c8d;
  border-top: 1px solid #f0f0f0;
  padding-top: 20px;
}

.print-button {
  margin-top: 20px;
}

.fs-7 {
  font-size: .9rem;
}

.fs-8 {
  font-size: .8rem;
}

.fs-9 {
  font-size: .7rem;
}

.fs-10 {
  font-size: .6rem;
}

.fs-11 {
  font-size: .5rem;
}

select:focus,
select:active,
input:focus,
input:active {
  box-shadow: none !important;
  outline: none !important;
}

@media print {
  .no-print {
    display: none;
  }
  body {
    background-color: #fff;
  }
  .receipt-container {
    box-shadow: none;
    margin: 0;
    padding: 15px;
  }
}

/* Hata Sayfası Stilleri */
.error-container {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  max-width: 600px;
  margin: 50px auto;
  text-align: center;
}

.error-header {
  margin-bottom: 20px;
}

.error-header .logo {
  height: 50px;
}

.error-icon {
  color: #dc3545;
  margin: 20px 0;
}

.error-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #dc3545;
}

.error-message {
  font-size: 16px;
  margin-bottom: 20px;
  color: #555;
}

.error-details {
  background-color: #f8f9fa;
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 25px;
  text-align: left;
  font-size: 14px;
}

.error-code {
  font-family: monospace;
  background-color: #eee;
  padding: 6px 10px;
  border-radius: 4px;
  margin-top: 5px;
  word-break: break-word;
}

.action-buttons {
  margin: 25px 0;
}

.error-footer {
  margin-top: 30px;
  font-size: 14px;
  color: #777;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

/* Proforma Stili */
.proforma {
  padding: 30px;
}

.proforma-header {
  margin-bottom: 30px;
  position: relative;
}

.proforma-company {
  text-align: left;
}

.proforma-title {
  text-align: center;
  margin: 20px 0;
  font-size: 24px;
  font-weight: bold;
  text-transform: uppercase;
}

.proforma-info {
  margin-bottom: 30px;
}

.proforma-info-box {
  border: 1px solid #eee;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
}

.proforma-info-box h5 {
  margin-top: 0;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
  color: #444;
}

.proforma-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.proforma-table th {
  background-color: #f8f9fa;
  padding: 10px;
  text-align: left;
  border-bottom: 2px solid #ddd;
}

.proforma-table td {
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.proforma-table tr:last-child td {
  border-bottom: none;
}

.proforma-total {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.proforma-total-table {
  width: 300px;
  border-collapse: collapse;
}

.proforma-total-table td {
  padding: 5px 10px;
}

.proforma-total-table tr:last-child {
  font-weight: bold;
  background-color: #f8f9fa;
}

.proforma-notes {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.payment-logo {
  text-align: right;
}

.invoice-id {
  font-size: 20px;
  font-weight: bold;
  color: #369aff;
}

.payment-date {
  margin-top: 10px;
  color: #369aff;
}

.letter-spacing-1 {
  letter-spacing: 1px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  body {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .payment-content {
    flex-direction: column;
  }
  
  .payment-details, .payment-form {
    min-width: 100%;
    border-right: none;
  }
  
  .payment-details {
    border-bottom: 1px solid #eee;
  }
  
  .proforma-header {
    flex-direction: column;
  }
  
  .proforma-total {
    justify-content: center;
  }
  
  .payment-logo {
    text-align: center;
    margin-top: 15px;
  }
  
  .header img {
    max-width: 150px;
  }
  
  .header h1 {
    font-size: 1.5rem;
  }
  
  .content {
    padding: 10px;
  }
  
  .home-description {
    padding: 20px;
    font-size: 16px;
  }
  
  .container {
    padding: 0 10px;
  }
  
  .home-wrapper {
    padding: 10px;
  }
} 