/**
 * SanalPosPRO Modern Installment Theme Styles
 */

 [data-sanalpospro-wrapper] {
    font-family: Arial, Helvetica, sans-serif;
    max-width: 1000px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    font-size: 15px;
}

[data-sanalpospro-container] {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    justify-content: center;
}

[data-sanalpospro-card] {
    flex: 1 1 calc(50% - 20px);
    min-width: 300px;
    max-width: 480px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #f0f0f0;
}

[data-sanalpospro-card]:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

[data-sanalpospro-card-header] {
    padding: 14px;
    background-color: #f7f9fc;
    border-bottom: 1px solid #eaedf3;
    text-align: center;
    font-weight: 600;
    color: #3a3f51;
    display: flex;
    justify-content: center;
    align-items: center;
}

[data-sanalpospro-card-header] img {
    max-width: 100%;
    max-height: 50px;
    display: block;
    margin:  auto;
}

[data-sanalpospro-card-body] {
    padding: 16px;
}

[data-sanalpospro-card] table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    table-layout: fixed;
}

[data-sanalpospro-card] table th,
[data-sanalpospro-card] table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #eaedf3;
    white-space: nowrap;
    overflow: hidden;
    color: black;
    text-overflow: ellipsis;
}

[data-sanalpospro-card] table th {
    font-weight: 600;
    color: #3a3f51;
}
.sppro-card-image{
    max-width: 100%;
    max-height: 50px;
    margin: 0 auto;
}

/* Başlık sütunları için genişlik ayarları */
[data-sanalpospro-card] table th:first-child,
[data-sanalpospro-card] table th:nth-child(2),
[data-sanalpospro-card] table th:nth-child(3) {
    width: 33.333%;
    text-align: center;
    white-space: normal;
    padding: 10px;
}

[data-sanalpospro-card] table td:first-child {
    text-align: center;
}

/* Rakam sütunları için özel stil */
[data-sanalpospro-card] table td:nth-child(2),
[data-sanalpospro-card] table td:nth-child(3) {
    text-align: center;
    font-family: inherit;
    font-size: 13px;
    padding: 10px;
}

[data-sanalpospro-card] table tr:last-child td {
    border-bottom: none;
}

[data-sanalpospro-card] table tr:hover td {
    background-color: #f7f9fc;
}

/* Responsive Styles */
@media (max-width: 992px) {
    [data-sanalpospro-card] {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    [data-sanalpospro-wrapper] {
        padding: 15px;
        font-size: 14px;
        border-radius: 8px;
        max-width: 100%;
    }
    
    [data-sanalpospro-container] {
        gap: 12px;
    }
    
    [data-sanalpospro-card] {
        flex: 1 1 100%;
        min-width: 100%;
    }
    
    [data-sanalpospro-card] table th,
    [data-sanalpospro-card] table td {
        padding: 8px;
        font-size: 13px;
    }
}

[data-sanalpospro-note] {
    background: #f7f9fc;
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    color: #5a6171;
    border: 1px solid #eaedf3;
    margin-top: 15px;
    line-height: 1.5;
}

/* Tablo için ek düzenlemeler */
[data-sanalpospro-table] {
    font-size: 14px;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

[data-sanalpospro-table] td {
    padding: 10px 12px;
    border-bottom: 1px solid #eaedf3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[data-sanalpospro-table] td:nth-child(2),
[data-sanalpospro-table] td:nth-child(3) {
    text-align: right;
    font-family: inherit;
    font-size: 13px;
}

/* Yeni eklenen stil iyileştirmeleri */
[data-sanalpospro-wrapper] button {
    background-color: #4a6cf7;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

[data-sanalpospro-wrapper] button:hover {
    background-color: #3a5ce5;
}

[data-sanalpospro-wrapper] select,
[data-sanalpospro-wrapper] input {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #dce0e8;
    background-color: #f7f9fc;
    font-family: inherit;
    font-size: 14px;
    width: 100%;
    margin-bottom: 10px;
}

[data-sanalpospro-wrapper] select:focus,
[data-sanalpospro-wrapper] input:focus {
    outline: none;
    border-color: #4a6cf7;
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.1);
} 