/*
 * ARMuye Eklentisi Arayüz Tasarımı (v1.28 CSS - Başlık Rengi Düzeltmesi)
 * Renk Paleti: #cb292c (Ana Kırmızı), #d30004 (Parlak Kırmızı), #000000 (Siyah), #ffffff (Beyaz)
 */

/* ----------------------------------------------------
 * ANA SIFIRLAMA VE TAM ARKA PLAN GARANTİSİ
 * ---------------------------------------------------- */
body, html {
    padding: 0 !important;
    margin: 0 !important;
    overflow-x: hidden;
}

body.page .site-content,
body.page .entry-content,
body.page .container,
body.page #primary,
body.page #content,
body.page #page {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100vw !important;
    width: 100vw !important;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

/* 1. KAPSAYICI ARKA PLAN VE GENEL AYARLAR */
.armuye-dashboard-container,
.armuye-login-container {
    background: linear-gradient(135deg, #000000 0%, #cb292c 50%, #d30004 100%) !important;
    color: #ffffff;
    margin: 0 !important;
    width: 100% !important;
    max-width: none !important;
    padding: 20px 10px;
    min-height: 100vh;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    box-sizing: border-box;
}

/* Giriş/Kayıt Formunu ORTALA */
.armuye-login-container {
    justify-content: center;
    /* align-items: center; */ /* Üstten başlaması için kaldırıldı */
    align-items: flex-start; /* Giriş/Garanti yan yana iken üste yasla */
    padding: 50px 10px;
}

/* Giriş/Kayıt/Şifre Kutuları */
#armuye-formu,
#armuye-kayit-formu,
#armuye-sifre-unuttum-formu,
.armuye-login-garanti-wrapper > div /* Giriş sayfasındaki kutular */
{
    background-color: rgba(255, 255, 255, 0.98);
    padding: 25px;
    border-radius: 6px;
    color: #000000;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

#armuye-kayit-formu {
    max-width: 600px !important;
}

/* Giriş sayfasındaki wrapper */
.armuye-login-garanti-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}
.armuye-login-garanti-wrapper > div {
    flex: 1;
    min-width: 300px;
    box-sizing: border-box; /* Padding içeri dahil */
}
@media (max-width: 768px) {
    .armuye-login-garanti-wrapper > div {
         min-width: 100%;
    }
    .armuye-login-container {
        padding: 10px; /* Mobilde padding azalt */
    }
}


/* 2. SOL MENÜ STİLLERİ (EKSTRA SIFIRLAMA) */
.armuye-menu {
    width: 200px;
    flex-shrink: 0;
    margin-right: 15px;
    background-color: #000000;
    border-radius: 4px;
    padding: 5px 0;
}

.armuye-menu h3 {
    color: #ffffff;
    text-align: center;
    padding: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0;
    font-size: 1.1em;
}

.armuye-menu ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.armuye-menu ul li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.armuye-menu ul li a {
    display: block;
    padding: 10px 15px;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s, border-left-color 0.3s;
    border-left: 3px solid transparent;
    font-size: 0.95em;
}

.armuye-menu ul li a:hover,
.armuye-menu ul li.active a {
    background-color: rgba(255, 255, 255, 0.1);
    border-left-color: #d30004; /* Parlak Kırmızı */
    color: #ffffff !important;
}

/* 3. SAĞ İÇERİK STİLLERİ */
.armuye-content-area {
    flex-grow: 1;
    background-color: rgba(255, 255, 255, 0.98);
    padding: 20px;
    border-radius: 4px;
    color: #000000;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
}

/* Başlıklar - GÜNCELLENDİ (#armuye-formu h2 eklendi) */
.armuye-content-area h2,
.armuye-garanti-sorgu-alan h2, /* Giriş sayfasındaki sorgu başlığı */
#armuye-formu h2 /* Giriş sayfasındaki giriş başlığı */
{
    color: #cb292c; /* Ana Kırmızı */
    border-bottom: 1px solid #cb292c; /* Ana Kırmızı */
    padding-bottom: 8px;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5em;
}

/* 4. FORM ve TABLO STİLLERİ - **ULTRA KOMPAKT** */
.armuye-content-area p,
#armuye-formu p,
.armuye-garanti-sorgu-alan p
{
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
}

.armuye-content-area label,
#armuye-formu label,
.armuye-garanti-sorgu-alan label
{
    display: block;
    font-weight: 600;
    color: #333333;
    margin-bottom: 2px !important;
    font-size: 0.9em;
}

.armuye-content-area input[type="text"],
.armuye-content-area input[type="email"],
.armuye-content-area input[type="tel"],
.armuye-content-area input[type="password"],
.armuye-content-area textarea,
.armuye-content-area select,
#armuye-formu input[type="text"],
#armuye-formu input[type="password"],
.armuye-garanti-sorgu-alan input[type="text"]
{
    width: 100%;
    padding: 6px 8px;
    height: auto;
    line-height: 1.4;
    margin-top: 0 !important;
    margin-bottom: 4px !important;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
    color: #000000;
    background-color: #ffffff;
    font-size: 0.95em;
}

.armuye-content-area form p:last-of-type,
#armuye-formu form p:last-of-type,
.armuye-garanti-sorgu-alan form p:last-of-type
{
    margin-top: 15px !important;
    margin-bottom: 0 !important;
}


/* BUTONLAR - GÜNCELLENDİ */
.armuye-content-area input[type="submit"],
.armuye-content-area .button,
#armuye-formu input[type="submit"],
.armuye-garanti-sorgu-alan input[type="submit"]
{
    background-color: #d30004; /* Parlak Kırmızı */
    color: white !important;
    padding: 10px 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
    margin-right: 10px;
    font-size: 1em;
    text-decoration: none !important;
}

.armuye-content-area input[type="submit"]:hover,
.armuye-content-area .button:hover,
#armuye-formu input[type="submit"]:hover,
.armuye-garanti-sorgu-alan input[type="submit"]:hover
{
    background-color: #cb292c; /* Hover: Ana Kırmızı */
    color: white !important;
}

/* LİNKLER - GÜNCELLENDİ */
.armuye-content-area a,
#armuye-formu a,
.armuye-garanti-sorgu-alan a
{
    color: #cb292c; /* Ana Kırmızı */
    text-decoration: underline;
}
.armuye-content-area a:hover,
#armuye-formu a:hover,
.armuye-garanti-sorgu-alan a:hover
{
    color: #d30004; /* Hover: Parlak Kırmızı */
    text-decoration: none;
}

/* Açıklama metinleri */
.description, p.description {
    color: #666;
    font-size: 0.85em;
    font-style: italic;
    margin-top: 3px !important;
}

/* Garanti Sorgulama Sonuç Tablosu */
.armuye-garanti-sorgu-alan .notice table.form-table th {
    text-align: left;
    font-weight: bold;
    padding-right: 10px;
    color: #333;
}
.armuye-garanti-sorgu-alan .notice table.form-table td {
    color: #000;
}


/* 5. MOBİL UYUMLULUK */
@media (max-width: 768px) {
    .armuye-dashboard-container {
        flex-direction: column;
        padding: 10px;
        min-height: 100vh;
    }

    .armuye-menu {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .armuye-menu ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .armuye-menu ul li {
        flex-grow: 1;
        text-align: center;
        margin: 2px;
    }

    .armuye-menu ul li a {
        padding: 8px 10px;
        border-left: none;
    }

    .armuye-menu ul li.active a {
        border-bottom: 3px solid #d30004;
        border-left-color: transparent;
        background-color: rgba(255, 255, 255, 0.05);
    }

    .armuye-content-area {
        padding: 15px;
    }

    /* Giriş formu mobil uyum */
    .armuye-login-container {
        min-height: 100vh;
        padding: 10px;
        align-items: flex-start;
    }
}

/* Iframe Stilleri */
.armuye-content-area iframe {
    display: block;
    width: 100%;
    min-height: 600px;
    border: none;
}