html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    color: #334155;
    font-size: 16px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

*, *::before, *::after {
    box-sizing: border-box;
    font-family: inherit;
}

.payment-bg {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #f1f5f9 0%, #eff6ff 50%, #e0e7ff 100%);
}

.payment-card {
    background: rgba(255,255,255,0.95);
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    padding: 2.5rem 2rem 2rem 2rem;
    width: 100%;
    max-width: 45%; /* Desktop için yüzde 45 */
    backdrop-filter: blur(4px);
    border: none;
}

/* Tablet için responsive (768px - 1024px) */
@media (max-width: 1024px) {
    .payment-card {
        max-width: 65%;
        padding: 2rem 1.5rem 1.5rem 1.5rem;
    }
}

/* Büyük mobil için responsive (481px - 767px) */
@media (max-width: 767px) {
    .payment-card {
        max-width: 85%;
        padding: 1.8rem 1.2rem 1.2rem 1.2rem;
    }
}

/* Küçük mobil için responsive (480px ve altı) */
@media (max-width: 480px) {
    .payment-card {
        max-width: 95%;
        padding: 1.5rem 1rem 1rem 1rem;
        margin: 0 10px;
    }
}

.payment-header {
    text-align: center;
    padding-bottom: 1.5rem;
}

/* Home page logo fade-in (same as page.css) */
.company-logo-img {
    max-height: 100px;
    opacity: 0;
    transition: opacity .25s ease-in-out;
}
.company-logo-img.loaded {
    opacity: 1;
}

/* Installment loading state */
.installment-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #6b7280;
    font-size: 14px;
    padding: 8px 4px;
}
.spinner {
    animation: rotate 1s linear infinite;
}
.spinner .path {
    stroke: #3b82f6;
    stroke-linecap: round;
    animation: dash 1.2s ease-in-out infinite;
}
@keyframes rotate {
    100% { transform: rotate(360deg); }
}
@keyframes dash {
    0% { stroke-dasharray: 1, 150; stroke-dashoffset: 0; }
    50% { stroke-dasharray: 90, 150; stroke-dashoffset: -35; }
    100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124; }
}


.payment-subtitle {
    font-size: 0.95rem;
    color: #475569;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.form-group, .space-y-2 {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

label {
    font-size: 0.98rem;
    font-weight: 500;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.input-amount-group {
    position: relative;
    display: flex;
    align-items: center;
}

.amount-input {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.75rem 4rem 0.75rem 1rem !important;
    font-size: 1.1rem !important;
    font-family: 'Geist Mono', 'Fira Mono', monospace !important;
    background: #f8fafc;
    color: #334155;
    text-align: right;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.amount-input:focus {
    border-color: #2563eb;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 2px #2563eb22;
}

.currency {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-weight: 500;
    font-size: 1rem;
}

/* Currency Select Styles */
.currency-select {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    font-size: 0.9rem;
    color: #475569;
    min-width: 2.5rem;
    justify-content: center;
    z-index: 10;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

.currency-select:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

.currency-select svg {
    transition: transform 0.2s;
    width: 12px;
    height: 12px;
}

.currency-select.closed svg {
    transform: rotate(0deg);
}

.currency-select.open svg {
    transform: rotate(180deg);
}

.currency-options {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    min-width: 140px;
    max-height: 200px;
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: all 0.2s;
}

.currency-options.closed {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
}

.currency-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.2s;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.currency-option:hover {
    background: #f8fafc;
}

.currency-option input[type="radio"] {
    display: none;
}

.currency-option input[type="radio"]:checked + .currency-symbol + .currency-name {
    color: #2563eb;
    font-weight: 500;
}

.currency-symbol {
    font-weight: 600;
    font-size: 1rem;
    color: #475569;
    min-width: 1.5rem;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

.currency-name {
    font-size: 0.9rem;
    color: #64748b;
    flex: 1;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

/* Responsive currency dropdown */
@media (max-width: 480px) {
    .amount-input {
        padding: 0.75rem 3.5rem 0.75rem 1rem !important;
    }
    
    .currency-select {
        min-width: 2rem;
        padding: 0.2rem 0.4rem;
        font-size: 0.85rem;
        right: 0.4rem;
    }
    
    .currency-options {
        min-width: 120px;
        right: -0.5rem;
    }
    
    .currency-option {
        padding: 0.6rem 0.8rem;
    }
    
    .currency-symbol {
        font-size: 0.9rem;
        min-width: 1.2rem;
    }
    
    .currency-name {
        font-size: 0.8rem;
    }
}

@media (max-width: 360px) {
    .amount-input {
        padding: 0.75rem 5.5rem 0.75rem 1rem !important;
        font-size: 1rem !important;
    }
    
    .currency-select {
        min-width: 1.8rem;
        padding: 0.15rem 0.3rem;
        font-size: 0.8rem;
        right: 0.3rem;
    }
    
    .currency-options {
        min-width: 110px;
        right: -0.3rem;
    }
}

.form-control, select, textarea {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    background: #f8fafc;
    color: #334155;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus, select:focus, textarea:focus {
    border-color: #2563eb;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 2px #2563eb22;
}

textarea.form-control {
    min-height: 80px;
    resize: none;
}

.payment-btn {
    width: 100%;
    background: #dc2626;
    color: #fff;
    font-weight: 500;
    font-size: 1.1rem;
    border: none;
    border-radius: 0.5rem;
    padding: 0.9rem 0;
    margin-top: 0.5rem;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px 0 rgba(220, 38, 38, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.payment-btn:hover {
    background: #b91c1c;
    box-shadow: 0 8px 24px 0 rgba(220, 38, 38, 0.15);
}

.arrow {
    font-size: 1.2rem;
    margin-left: 4px;
}

.icon-label {
    display: inline-flex;
    vertical-align: middle;
    width: 1.1em;
    height: 1.1em;
    opacity: 0.85;
}

::placeholder {
    color: #94a3b8;
    opacity: 1;
    font-weight: 400;
}

.payment-select {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: #334155;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    margin-bottom: 0.5rem;
    user-select: none;
}
.payment-select.open, .payment-select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px #2563eb22;
}
.payment-select.closed {
    border-color: #e5e7eb;
    box-shadow: none;
}
.payment-select svg {
    transition: transform 0.2s;
}
.payment-select.closed svg {
    transform: rotate(180deg);
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    overflow: hidden;
    max-height: 500px; /* Varsayılan olarak açık */
    opacity: 1; /* Varsayılan olarak görünür */
    pointer-events: auto; /* Varsayılan olarak tıklanabilir */
    transition: max-height 0.35s cubic-bezier(.4,0,.2,1), opacity 0.25s cubic-bezier(.4,0,.2,1);
}
.payment-options.closed {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-8px);}
    to { opacity: 1; transform: translateY(0);}
}
.payment-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background: #fff;
    cursor: pointer;
    font-size: 1rem;
    color: #334155;
    transition: border-color 0.2s, background 0.2s;
}
.payment-option:hover, .payment-option input:checked + span {
    border-color: #2563eb;
}
.payment-option input[type="radio"] {
    accent-color: #2563eb;
    width: 1.1em;
    height: 1.1em;
}

.payment-row {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
}
.payment-row > div {
    flex: 1 1 0;
    min-width: 0;
}
@media (max-width: 350px) {
    .payment-row {
        flex-direction: column;
        gap: 0.5rem;
    }
}

.payment-select {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: #334155;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    margin-bottom: 0.5rem;
    user-select: none;
}
.payment-select > span:last-child {
    margin-left: auto;
    padding-right: 8px;
    display: flex;
    align-items: center;
}

.payment-row > div:last-child input[type="text"] {
    max-width: 120px;
    min-width: 0;
    text-align: center;
}
@media (max-width: 500px) {
    .payment-row > div:last-child input[type="text"] {
        max-width: 100%;
    }
    .payment-card {
        padding: 1.5rem 1rem;
        max-width: 98vw;
    }
}
.card-label {
    font-size: 0.98rem;
    font-weight: 500;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.2rem;
}
.card-input-mono {
   
    letter-spacing: 0.05em;
}
.card-input-uppercase {
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.payment-btn .icon-label {
    color: #fff !important;
}

select,
select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.75rem 2.2rem 0.75rem 1rem;
    font-size: 1rem;
    color: #334155;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' fill='none' stroke='%2364748b' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.1em;
    cursor: pointer;
}
select:focus {
    border-color: #2563eb;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 2px #2563eb22;
}   

.site-footer {
  width: 100%;
  background: #f8fafc;
  padding-top: 2.2rem;
  font-size: 1rem;
  color: #64748b;
  box-shadow: 0 -2px 16px 0 rgba(31, 38, 135, 0.06);
}
.footer-inner-3col {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.2rem 0.5rem 1.2rem;
  display: flex;
  gap: 2.5rem;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}
.footer-col {
  flex: 1 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 1.1em;
  margin-bottom: 1.5rem;
}
.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 0.1em;
}
.footer-logo span { color: #0ea5e9; }
.footer-company {
  font-size: 1rem;
  color: #64748b;
  margin-bottom: 0.2em;
}
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 0.65em;
}
.footer-info div {
  display: flex;
  align-items: flex-start;
  gap: 0.5em;
  margin-bottom: 0;
}
.footer-info a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-bottom a{
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-bottom a:hover {
    color: #2563eb;
    text-decoration: none;
}

  .footer-info a:hover {
    color: #2563eb;
    text-decoration: none;
  }
.footer-links-title {
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.4em;
}
.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.50em;
}
.footer-links-list a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
  padding: 0.1em 0;
}
.footer-links-list a:hover {
  color: #2563eb;
  text-decoration: none;
}
.footer-payment-title {
  font-weight: 600;
  color: #22c55e;
  margin-bottom: 0.3em;
  display: flex;
  align-items: center;
  gap: 0.4em;
}
.footer-payment-logos {
    display: flex;
    gap: 0.7em;
    align-items: center;
    justify-content: flex-start;
}
.pay-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 0.5em;
    box-shadow: 0 2px 8px 0 rgba(31,38,135,0.04);
    height: 38px;
    min-width: 60px;
    padding: 0 12px;
}

.footer-bottom {
  border-top: 1px solid #e5e7eb;
  margin-top: 1.2rem;
  padding: 0.7rem 1.2rem 0.7rem 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.97em;
  color: #94a3b8;
}
.footer-bottom-right { display: flex; gap: 1.2em; }
@media (max-width: 900px) {
  .footer-inner-3col { flex-direction: column; gap: 1.5rem; align-items: stretch; padding: 0 1.2rem 0.5rem 1.2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5em; text-align: center; }
  .footer-col { gap: 0.8em; }
  .footer-info { gap: 0.25em; }
}

.footer-icon {
    display: inline-flex;
    vertical-align: middle;
    margin-right: 0.3em;
    margin-left: 0.1em;
    position: relative;
    top: 2px;
}
.footer-contact .footer-icon:not(:first-child) {
    margin-left: 1.2em;
}
.footer-mail .footer-icon {
    margin-right: 0.5em;
}   

.payment-btn[disabled], .payment-btn.disabled {
    background: #e5e7eb;
    color: #a1a1aa;
    cursor: not-allowed;
    box-shadow: none;
    border: none;
}   

/* Taksit seçenekleri alanı */
.installment-options {
    margin-bottom: 1.2rem;
}
.installment-options-inner {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background: #f8fafc;
    padding: 0.7rem 0.7rem 0.5rem 0.7rem;
}
.installment-options-title {
    font-weight: 500;
    color: #334155;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}
.installment-options-grid {
    display: grid;
    gap: 0.5rem;
}
.installment-message {
    padding: 0.6rem 0.8rem;
    border: 1px dashed #cbd5e1;
    border-radius: 0.4rem;
    background: #f1f5f9;
    color: #64748b;
    text-align: center;
    font-size: 0.95rem;
}
.installment-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #e5e7eb;
    border-radius: 0.4rem;
    background: #fff;
    padding: 0.4rem 0.6rem;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-size: 0.93rem;
    min-width: 0;
}
.installment-option:hover, .installment-option input:checked + span {
    border-color: #2563eb;
    box-shadow: 0 2px 8px 0 rgba(37,99,235,0.06);
}
.installment-option input[type="radio"] {
    accent-color: #2563eb;
    width: 1.1em;
    height: 1.1em;
    margin-left: 0.7em;
}
.installment-name {
    font-weight: 500;
    color: #334155;
    font-size: 0.95em;
}
.installment-amount {
    font-size: 0.90em;
    color: #64748b;
    margin-top: 0.1em;
}
.installment-label {
    font-weight: 500;
    color: #334155;
    font-size: 0.96em;
}
.installment-label.interest-free {
    color: #059669;
    font-weight: 600;
}
@media (max-width: 600px) {
    .installment-options-grid {
        grid-template-columns: 1fr;
    }
}

.payment-multi-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.payment-multi-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.45rem 0.7rem;
    font-size: 0.97rem;
    box-shadow: 0 2px 8px 0 rgba(31,38,135,0.03);
    transition: box-shadow 0.2s, border-color 0.2s;
    min-height: auto;
    flex-wrap: wrap;
    align-items: flex-start;
}

.payment-multi-desc .desc-text {
    color: #64748b;
    font-weight: 400;
    font-size: 0.97rem;
    white-space: nowrap;
    text-align: right;
    margin-left: 0.5rem;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.payment-multi-amount {
    color: #2563eb;
    font-weight: 600;
    font-size: 1rem;
    min-width: 90px;
    text-align: left;
    margin-right: 0.5rem;
}

@media (max-width: 500px) {
    .payment-multi-amount { min-width: 70px; font-size: 0.95rem; }
    .payment-multi-desc .desc-text { max-width: 100px; font-size: 0.95rem; }
}

.tippy-box[data-theme~='wpay'] {
    background-color: #fff;
    color: #334155;
    border-radius: 0.7rem;
    box-shadow: 0 8px 32px 0 rgba(31,38,135,0.10);
    border: 1.5px solid #e5e7eb;
    font-size: 0.98rem;
    padding: 0.7em 1.1em;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    
    max-width: 350px;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.tippy-box[data-theme~='wpay'][data-placement^='top'] > .tippy-arrow {
    border-top-color: #fff;
}
.tippy-box[data-theme~='wpay'][data-placement^='bottom'] > .tippy-arrow {
    border-bottom-color: #fff;
}
.tippy-box[data-theme~='wpay'] .tippy-arrow {
    color: #fff;
}

/* Success & Fail Pages */
.result-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #f1f5f9 0%, #eff6ff 50%, #e0e7ff 100%);
}

.result-card {
    background: rgba(255,255,255,0.95);
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 600px;
    backdrop-filter: blur(4px);
    text-align: center;
}


.result-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.result-icon.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    animation: successPulse 2s ease-in-out infinite;
}

.result-icon.fail {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    animation: failPulse 2s ease-in-out infinite;
}

.result-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

@keyframes successPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(16, 185, 129, 0); }
}

@keyframes failPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(239, 68, 68, 0); }
}

.result-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #334155;
}

.result-title.success {
    color: #059669;
}

.result-title.fail {
    color: #dc2626;
}

.result-message {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.result-details {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.25rem;
    margin-bottom: 2rem;
    text-align: left;
}

.result-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
    gap: 60px;
}

.result-detail-row:last-child {
    border-bottom: none;
}

.result-detail-label {
    font-weight: 500;
    color: #475569;
    font-size: 0.95rem;
}

.result-detail-value {
    font-weight: 600;
    color: #334155;
    font-size: 0.95rem;
    word-break: break-word;
    text-align: right;
}

.result-detail-value.amount {
    color: #2563eb;
    font-family: 'Geist Mono', 'Fira Mono', monospace;
}

.result-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.result-btn {
    width: 100%;
    border: none;
    border-radius: 0.5rem;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.result-btn.primary {
    background: #2563eb;
    color: white;
    box-shadow: 0 4px 16px 0 rgba(37, 99, 235, 0.10);
}

.result-btn.primary:hover {
    background: #1d4ed8;
    box-shadow: 0 8px 24px 0 rgba(37, 99, 235, 0.15);
    transform: translateY(-1px);
}

.result-btn.secondary {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e5e7eb;
}

.result-btn.secondary:hover {
    background: #f1f5f9;
    border-color: #d1d5db;
}

.result-btn.danger {
    background: #dc2626;
    color: white;
    box-shadow: 0 4px 16px 0 rgba(220, 38, 38, 0.10);
}

.result-btn.danger:hover {
    background: #b91c1c;
    box-shadow: 0 8px 24px 0 rgba(220, 38, 38, 0.15);
    transform: translateY(-1px);
}

@media (max-width: 500px) {
    .result-card {
        padding: 2rem 1.5rem;
        max-width: 95vw;
    }
    
    .result-icon {
        width: 70px;
        height: 70px;
    }
    
    .result-icon svg {
        width: 35px;
        height: 35px;
    }
    
    .result-title {
        font-size: 1.5rem;
    }
    
    .result-message {
        font-size: 1rem;
    }
    
    .result-actions {
        gap: 0.75rem;
    }
}

/* Print Makbuz */
@media print {
    body * {
        visibility: hidden !important;
    }
    
    /* Sadece makbuz alanını göster */
    .result-card,
    .result-card * {
        visibility: visible !important;
    }
    .result-actions,
    .result-btn.primary,
    .result-btn.secondary,
    .result-icon,
    .site-footer,
    .footer-inner-3col,
    .footer-bottom {
        display: none !important;
    }
    html, body {
        background: white !important;
        margin: 0 !important;
        padding: 0 !important;
        height: auto !important;
        min-height: auto !important;
    }
    .payment-bg {
        background: white !important;
        min-height: auto !important;
        padding: 20px !important;
        display: block !important;
    }
    .result-card {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        background: white !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 30px !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
    }
    .result-title {
        color: #000 !important;
        font-size: 24px !important;
        margin-bottom: 15px !important;
    }
    .result-message {
        color: #333 !important;
        font-size: 14px !important;
        margin-bottom: 25px !important;
    }
    .result-details {
        background: #f9f9f9 !important;
        border: 1px solid #ddd !important;
        margin-bottom: 25px !important;
        page-break-inside: avoid !important;
    }
    .result-detail-row {
        border-bottom: 1px solid #ddd !important;
        padding: 8px 0 !important;
    }
    .result-detail-label {
        color: #333 !important;
        font-size: 12px !important;
    }
    .result-detail-value {
        color: #000 !important;
        font-size: 12px !important;
        font-weight: bold !important;
    }
    .result-detail-value.amount {
        color: #000 !important;
        font-family: 'Courier New', monospace !important;
    }
    @page {
        margin: 1cm !important;
        size: A4 !important;
    }
    .result-card {
        page-break-inside: avoid !important;
    }
    .result-details {
        page-break-inside: avoid !important;
    }
}