/* ============================= */
/* Temel Ayarlar ve Sayfa Stili */
/* ============================= */

html {
    font-size: 16px;
}

.odm-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3.125rem 0;
    background-color: #f5f7fa;

}

/* ödeme hata sayfası   */

.odm-error-wrapper {
    margin-top: 125px;
}

.odm-error-card {
    border: 1px solid #d1d1d1;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    background-color: #e8f6f6; /* açık buz mavisi */
    padding: 40px 30px;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.odm-error-title {
    font-size: 30px;
    font-weight: bold;
    color: #c82333; /* kırmızımsı */
}

.odm-error-message p {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.odm-error-message a {
    color: #007782;
    font-weight: 500;
    text-decoration: none;
}

.odm-error-message a:hover {
    text-decoration: underline;
}

.odm-error-btn-primary,
.odm-error-btn-secondary {
    border: none;
    font-weight: 600;
    border-radius: 8px;
    padding: 10px 22px;
    margin: 5px;
    display: inline-block;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.odm-error-btn-primary {
    background-color: #007782;
    color: #fff !important; /* Zorlayarak beyaz yapıyoruz */
    border: none;
    font-weight: 600;
    border-radius: 8px;
    padding: 10px 22px;
    margin: 5px;
    display: inline-block;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}


.odm-error-btn-primary:hover {
    background-color: #005f67;
}

.odm-error-btn-secondary {
    background-color: #cccccc; /* açık gri */
    color: #444;
}

.odm-error-btn-secondary:hover {
    background-color: #b3b3b3;
}


/* ============================= */
/* Kart Kutusu ve Genel Yapı    */
/* ============================= */

.odm-card {
    width: 32.25rem;
    margin-top: 75px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding-bottom: 1.25rem;
   
   
}

.odm-card-body {
    padding: 2.5rem;
    text-align: center;
    width: 100%; /* tam genişlik */
    box-sizing: border-box;
}



/* ============================= */
/* Başarılı Mesaj & Butonlar    */
/* ============================= */

.odm-text-success {
    color: #28a745;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.9375rem;
    width: 30rem;
}

.odm-btn-primary {
    display: inline-block;
    background-color: #007782;
    color: #fff;
    text-decoration: none;
    padding: 0.75rem 1.875rem;
    font-size: 1rem;
    border-radius: 5px;
    margin-top: 1.25rem;
    transition: background-color 0.3s ease;
}

.odm-btn-primary:hover {
    background-color: #005f66;
    color: #fff;
}

/* ============================= */
/* Fatura & Bağlantı Stilleri   */
/* ============================= */

.odm-view-invoice {
    display: block; /* inline-block yerine block */
    color: #007bff;
    font-size: 1.1rem;
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    border: 1px solid #007bff;
    border-radius: 5px;
    margin: 0 auto 1.45rem auto; /* otomatik ortalama */
    text-align: center;
}


.odm-view-invoice:hover {
    background-color: #e6f0fa;
    text-decoration: none;
}

.fatura-indir {
    text-align: center;
}

.fatura-icon {
    color: #dc3545;
    font-size: 1.5rem;
    text-decoration: none;
}

.fatura-icon:hover {
    color: #a71d2a;
}

.no-fatura {
    color: #aaa;
    font-size: 1rem;
}

/* ============================= */
/* Detay Kutusu (Sipariş vb.)   */
/* ============================= */

.odm-details {
    background-color: #e6f7fa;
    padding: 1.5625rem;
    border-radius: 8px;
    width: 23rem;
}

.odm-details-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.odm-label {
    font-weight: 500;
    color: #555;
}

.odm-value {
    font-weight: 600;
    color: #333;
}

/* ============================= */
/* Açıklama ve Metin Stilleri   */
/* ============================= */

.odm-message p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 1.5625rem;
}

/* ============================= */
/* Tablo (Ödeme Geçmişi vs.)    */
/* ============================= */

.odm-table-card {
    width: 78.2rem;
    border-radius: 10px;
}

.odm-table-wrapper {
    overflow-x: auto;
    margin-top: 1.5rem;
}

.odm-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.odm-table thead {
    background-color: #e3f2fd;
}

.odm-table th {
    padding: 1rem;
    text-align: left;
    font-weight: bold;
    color: #333;
    font-size: 1rem;
    border-bottom: 2px solid #b0bec5;
}

.odm-table td {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: #555;
    border-bottom: 1px solid #ddd;
}

.odm-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.odm-table tbody tr:hover {
    background-color: #e1f5fe;
}

/* ============================= */
/* Form & Onay Kutuları         */
/* ============================= */

.odm-form-group {
    margin-bottom: 1.25rem;
}

.odm-form-check {
    margin-bottom: 1.25rem;
    text-align: left;
}

.odm-form-check-input {
    margin-right: 0.5rem;
}

.odm-form-check-label {
    font-size: 1rem;
    color: #333;
}
/* İptal Butonu - Secondary Stil */
.odm-btn-secondary {
    display: inline-block;
    background-color: #ddd;
    color: #333;
    text-decoration: none;
    padding: 0.75rem 1.875rem;
    font-size: 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.odm-btn-secondary:hover {
    background-color: #bbb;
    color: #000;
}

/* Modal ve Yükleme Katmanı */
.odm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.odm-modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 31rem;
    text-align: center;
}

/* Label içi form alanları */
.odm-form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

/* Kredi kartı bilgileri ve butonları ortalamak için */
/* En alta bunu ekle */
.odm-form-group,
.odm-form-check {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 29rem;
    
}


.odm-guvenli {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1rem;
    text-align: center;
}
