/* =========================================================
   ŞEHRİN EFENDİLERİ | KLAN ÜYELİĞİ
   Ana Stil Dosyası
   ========================================================= */


/* =========================================================
   TEMEL AYARLAR
   ========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    position: relative;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: #eeeeee;
    background: #0b0b0b;
    line-height: 1.6;
}


/* =========================================================
   ARKA PLAN
   ========================================================= */

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.72),
            rgba(0, 0, 0, 0.78)
        ),
        url("bg.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    pointer-events: none;
}


/* =========================================================
   ANA KONTEYNER
   ========================================================= */

.container {
    position: relative;
    z-index: 1;

    width: min(100% - 32px, 1500px);
    margin: 0 auto;
    padding: 48px 0 70px;
}


/* =========================================================
   BAŞLIK
   ========================================================= */

.header {
    position: relative;
    z-index: 1;

    margin-bottom: 30px;
    padding: 78px 20px 28px;

    text-align: center;

    background: linear-gradient(
        to bottom,
        rgba(5, 5, 5, 0.58),
        rgba(5, 5, 5, 0.28),
        rgba(5, 5, 5, 0)
    );

    border-radius: 16px;
}

.header h1 {
    color: #ffffff;
    font-size: clamp(28px, 6vw, 46px);
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.15;
    text-shadow:
        0 3px 7px rgba(0, 0, 0, 0.95),
        0 0 22px rgba(0, 0, 0, 0.55),
        0 0 22px rgba(232, 93, 42, 0.12);
}

.header h2 {
    margin-top: 8px;
    color: #e85d2a;
    font-size: clamp(18px, 4vw, 24px);
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow:
        0 2px 6px rgba(0, 0, 0, 0.95),
        0 0 12px rgba(0, 0, 0, 0.65);
}

.header p {
    max-width: 820px;
    margin: 14px auto 0;
    color: #bdbdbd;
    font-size: 14px;
    line-height: 1.7;
    text-shadow:
        0 2px 5px rgba(0, 0, 0, 0.98),
        0 0 10px rgba(0, 0, 0, 0.65);
}


/* =========================================================
   BİLGİLENDİRME KARTI
   ========================================================= */

.info-card {
    margin-bottom: 22px;
    padding: 23px 25px;

    background:
        linear-gradient(
            145deg,
            rgba(28, 28, 28, 0.97),
            rgba(19, 19, 19, 0.97)
        );

    border: 1px solid rgba(232, 93, 42, 0.20);
    border-radius: 14px;

    box-shadow:
        0 14px 38px rgba(0, 0, 0, 0.36),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 11px;

    padding-bottom: 15px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.info-card-icon {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 27px;
    height: 27px;

    color: #ffffff;
    background: rgba(232, 93, 42, 0.16);

    border: 1px solid rgba(232, 93, 42, 0.38);
    border-radius: 50%;

    font-size: 16px;
    font-weight: 800;
    line-height: 1;
}

.info-card-header h3 {
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
}

.info-card-content {
    padding-top: 15px;
}

.info-card-content p {
    margin-top: 9px;
    color: #c3c3c3;
    font-size: 13.5px;
    line-height: 1.7;
}

.info-card-content p:first-child {
    margin-top: 0;
}


/* =========================================================
   FORM
   ========================================================= */

#clanApplicationForm {
    display: flex;
    flex-direction: column;
    gap: 18px;
}


/* =========================================================
   FORM BÖLÜMLERİ
   ========================================================= */

.form-section {
    padding: 24px 20px;
    background: rgba(24, 24, 24, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 13px;
    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.form-section h3 {
    margin-bottom: 22px;
    padding-bottom: 13px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}


/* =========================================================
   LABEL
   ========================================================= */

.form-section > label:not(.checkbox) {
    display: block;
    margin-top: 22px;
    margin-bottom: 9px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.55;
}

.form-section > label:first-of-type {
    margin-top: 0;
}

.form-section label span {
    color: #e85d2a;
}


/* =========================================================
   SORU NUMARALARI
   ========================================================= */

.form-section label .question-number {
    color: #e85d2a;
    font-weight: 800;
}


/* =========================================================
   INPUT / SELECT
   ========================================================= */

input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
input[type="search"],
select,
textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    color: #eeeeee;
    background: #101010;
    border: 1px solid #353535;
    border-radius: 9px;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

input[type="text"]::placeholder,
input[type="number"]::placeholder,
input[type="email"]::placeholder,
input[type="password"]::placeholder,
input[type="search"]::placeholder,
textarea::placeholder {
    color: #777777;
}

input[type="text"]:hover,
input[type="number"]:hover,
input[type="email"]:hover,
input[type="password"]:hover,
input[type="search"]:hover,
select:hover,
textarea:hover {
    border-color: #4a4a4a;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
select:focus,
textarea:focus {
    background: #151515;
    border-color: #e85d2a;
    box-shadow:
        0 0 0 3px rgba(232, 93, 42, 0.11);
}


/* =========================================================
   SELECT
   ========================================================= */

select {
    width: 100%;
    min-height: 44px;
    padding: 9px 14px;
    font-size: 13px;
    cursor: pointer;
}

/*
   Public formdaki select kutuları kompakt tutulur.
   Admin panelindeki selectler ise genel %100 genişliği kullanır.
*/
.form-section select {
    width: 40%;
}

select option {
    color: #eeeeee;
    background: #151515;
}


/* =========================================================
   TEXTAREA
   ========================================================= */

textarea {
    min-height: 110px;
    resize: vertical;
    line-height: 1.6;
}


/* =========================================================
   RADIO SEÇENEKLERİ
   ========================================================= */

.options {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.options label {
    flex: 0 0 10%;
    width: 10%;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;
    padding: 10px 14px;

    color: #d7d7d7;
    background: #101010;

    border: 1px solid #343434;
    border-radius: 9px;

    cursor: pointer;

    font-size: 14px;
    font-weight: 600;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.15s ease;
}

.options label:hover {
    background: #181818;
    border-color: #555555;
    color: #ffffff;
}

.options label:active {
    transform: translateY(1px);
}

.options input[type="radio"] {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    accent-color: #e85d2a;
    cursor: pointer;
}


/* =========================================================
   CHECKBOX
   ========================================================= */

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 17px;
    padding: 13px 14px;
    color: #c8c8c8;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 9px;
    font-size: 13px;
    line-height: 1.6;
    cursor: pointer;
    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.checkbox:first-of-type {
    margin-top: 0;
}

.checkbox:hover {
    background: #161616;
    border-color: rgba(255, 255, 255, 0.12);
}

.checkbox input[type="checkbox"] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #e85d2a;
}


/* =========================================================
   GENEL ANA BUTON
   ========================================================= */

.primary-button {
    width: 50%;
    margin: 0 auto;
    display: block;
    min-height: 54px;
    padding: 14px 20px;

    color: #ffffff;

    background: linear-gradient(
        180deg,
        #e86a36 0%,
        #c7471c 100%
    );

    border: 1px solid #ef7543;
    border-radius: 9px;
    outline: none;

    cursor: pointer;

    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.8px;

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);

    transition:
        transform 0.15s ease,
        filter 0.15s ease,
        box-shadow 0.15s ease;
}

.primary-button:hover {
    filter: brightness(1.08);

    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.45),
        0 0 18px rgba(232, 93, 42, 0.15);
}

.primary-button:active {
    transform: translateY(1px);
}

.primary-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}


/* =========================================================
   GÖNDER BUTONU
   ========================================================= */

#submitButton {
    width: 50%;
    margin: 0 auto;
    display: block;

    min-height: 54px;
    padding: 14px 20px;
    color: #ffffff;
    background: linear-gradient(
        180deg,
        #e86a36 0%,
        #c7471c 100%
    );
    border: 1px solid #ef7543;
    border-radius: 9px;
    outline: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.8px;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition:
        transform 0.15s ease,
        filter 0.15s ease,
        box-shadow 0.15s ease;
}

#submitButton:hover {
    filter: brightness(1.08);
    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.45),
        0 0 18px rgba(232, 93, 42, 0.15);
}

#submitButton:active {
    transform: translateY(1px);
}

#submitButton:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}


/* =========================================================
   SONUÇ MESAJI
   ========================================================= */

.result-message {
    margin-top: 24px;
    padding: 27px 24px;
    color: #dddddd;
    background: rgba(24, 24, 24, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 13px;
    text-align: center;
    line-height: 1.7;
    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.28);
}

.result-message h3 {
    margin-bottom: 10px;
    color: #ffffff;
    font-size: 20px;
}

.result-message p {
    max-width: 560px;
    margin: 7px auto 0;
    color: #bcbcbc;
    font-size: 14px;
}


/* =========================================================
   BAŞVURU BAŞARI MESAJI
   ========================================================= */

.result-message.success {
    margin-top: 30px;
    padding: 36px 40px;
    background:
        linear-gradient(
            145deg,
            rgba(20, 45, 30, 0.97),
            rgba(18, 28, 22, 0.98)
        );
    border: 1px solid rgba(58, 190, 100, 0.55);
    border-radius: 16px;
    box-shadow:
        0 0 0 1px rgba(58, 190, 100, 0.08),
        0 15px 45px rgba(0, 0, 0, 0.45);
}

.success-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(58, 190, 100, 0.15);
    border: 2px solid rgba(58, 190, 100, 0.65);
    color: #55d87a;
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

.result-message.success h3 {
    margin: 0 0 14px;
    color: #63df85;
    font-size: 24px;
    font-weight: 800;
}

.success-main-text {
    margin: 0 0 24px !important;
    color: #eeeeee !important;
    font-size: 16px !important;
}

.instagram-notice {
    max-width: 680px;
    margin: 0 auto;
    padding: 18px 22px;
    text-align: left;
    background: rgba(232, 91, 38, 0.09);
    border: 1px solid rgba(232, 91, 38, 0.38);
    border-radius: 12px;
}

.instagram-notice strong {
    display: block;
    margin-bottom: 9px;
    color: #ff743d;
    font-size: 16px;
}

.instagram-notice p {
    margin: 5px 0;
    color: #d8d8d8;
    font-size: 14px;
    line-height: 1.6;
}

.result-message.error {
    border-color: rgba(220, 70, 70, 0.35);
}

.hidden {
    display: none !important;
}


/* =========================================================
   FORM HATA / GEÇERSİZ DURUM
   ========================================================= */

input:invalid:not(:placeholder-shown),
select:invalid:not(:focus) {
    box-shadow: none;
}


/* =========================================================
   SEÇİM
   ========================================================= */

::selection {
    color: #ffffff;
    background: #e85d2a;
}


/* =========================================================
   =========================================================
   YÖNETİM PANELİ
   =========================================================
   ========================================================= */


/* =========================================================
   PANEL ÜST BAR
   ========================================================= */

.admin-toolbar {
    position: relative;

    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;

    margin-bottom: 18px;
    padding: 22px 24px;

    background: rgba(24, 24, 24, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 13px;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.admin-toolbar-info {
    min-width: 0;
}

.admin-toolbar-info h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
}

.admin-toolbar-info p {
    margin-top: 5px;
    color: #999999;
    font-size: 13px;
}

.last-refresh-info {
    display: block;
    margin-top: 6px;
    color: #777777;
    font-size: 11px;
}

.admin-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}


/* =========================================================
   İKİNCİL BUTON
   ========================================================= */

.secondary-button {
    min-height: 43px;
    padding: 10px 17px;

    color: #dddddd;
    background: #111111;

    border: 1px solid #3b3b3b;
    border-radius: 8px;

    cursor: pointer;

    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.15s ease,
        filter 0.15s ease,
        box-shadow 0.2s ease;
}

.secondary-button:hover {
    color: #ffffff;
    background: #1a1a1a;
    border-color: #5a5a5a;
}

.secondary-button:active {
    transform: translateY(1px);
}

.secondary-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}


/* =========================================================
   YÖNETİM AKSİYON BUTONLARI
   ========================================================= */

/*
   Özel yönetim butonları, ortak secondary-button stilinden
   sonra tanımlanarak kendi görünümlerini korur.
*/


/* =========================================================
   ÇIKIŞ BUTONU
   ========================================================= */

.admin-logout-button {
    position: absolute;
    top: 18px;
    right: 20px;

    width: auto;
    min-width: 122px;
    min-height: 44px;

    padding: 10px 18px;

    color: #ffffff;

    background: linear-gradient(
        180deg,
        #f06a35 0%,
        #c63d16 100%
    );

    border: 1px solid #ff7a45;
    border-radius: 8px;

    cursor: pointer;

    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.8px;

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.48),
        0 0 18px rgba(232, 93, 42, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);

    transition:
        transform 0.15s ease,
        filter 0.15s ease,
        box-shadow 0.2s ease;
}

.admin-logout-button:hover {
    color: #ffffff;

    background: linear-gradient(
        180deg,
        #ff7841 0%,
        #d9481b 100%
    );

    border-color: #ff9365;

    filter: brightness(1.06);

    box-shadow:
        0 10px 27px rgba(0, 0, 0, 0.55),
        0 0 27px rgba(232, 93, 42, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.admin-logout-button:active {
    transform: translateY(1px);
}

.admin-logout-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}


/* =========================================================
   YENİLE BUTONU
   ========================================================= */

.admin-refresh-button {
    width: auto;
    min-width: 108px;
    min-height: 40px;

    padding: 8px 16px;

    color: #d8d8d8;

    background: linear-gradient(
        180deg,
        #303030 0%,
        #202020 100%
    );

    border: 1px solid #4b4b4b;
    border-radius: 8px;

    font-weight: 800;
    letter-spacing: 0.6px;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.admin-refresh-button:hover {
    color: #ffffff;

    background: linear-gradient(
        180deg,
        #3a3a3a 0%,
        #282828 100%
    );

    border-color: #666666;

    filter: brightness(1.05);

    box-shadow:
        0 7px 19px rgba(0, 0, 0, 0.38),
        0 0 14px rgba(255, 255, 255, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.admin-refresh-button:active {
    transform: translateY(1px);
}

.admin-refresh-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}


/* =========================================================
   İSTATİSTİK KARTLARI
   ========================================================= */

.application-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.stat-card {
    min-width: 0;
    padding: 17px 10px;
    color: #c7c7c7;
    background: rgba(24, 24, 24, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 11px;
    outline: none;
    cursor: pointer;
    text-align: center;
    font-family: inherit;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.15s ease;
}

.stat-card:hover {
    background: #1b1b1b;
    border-color: #444444;
}

.stat-card:active {
    transform: translateY(1px);
}

.stat-card.active {
    background: rgba(232, 93, 42, 0.09);
    border-color: rgba(232, 93, 42, 0.48);
}

.stat-label {
    display: block;
    color: #999999;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
}

.stat-value {
    display: block;
    margin-top: 4px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
}

.stat-card.active .stat-label {
    color: #d97851;
}


/* =========================================================
   ARAMA VE FİLTRELER
   ========================================================= */

.admin-filters {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 12px;
    padding: 20px;
    background: rgba(24, 24, 24, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 13px;
    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.28);
}

.search-wrapper,
.filter-group {
    min-width: 0;
}

.admin-filters label {
    display: block;
    margin-bottom: 8px;
    color: #bdbdbd;
    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
   SONUÇ BİLGİSİ
   ========================================================= */

.application-result-info {
    padding: 9px 3px 12px;
}

#resultCount {
    color: #888888;
    font-size: 12px;
}


/* =========================================================
   BAŞVURU LİSTESİ
   ========================================================= */

.applications-section {
    width: 100%;
}

#applicationsList {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.loading-message {
    padding: 30px;
    color: #999999;
    text-align: center;
}


/* =========================================================
   BAŞVURU KARTI
   ========================================================= */

.application-card {
    padding: 23px;
    background: rgba(24, 24, 24, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 13px;
    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.application-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 17px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.application-card-header h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
}

.application-date {
    margin-top: 4px;
    color: #777777;
    font-size: 11px;
}


/* =========================================================
   DURUM ROZETİ
   ========================================================= */

.application-status-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 29px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.status-new {
    color: #dddddd;
    background: #292929;
    border: 1px solid #444444;
}

.status-reviewing {
    color: #e8b76c;
    background: rgba(190, 130, 40, 0.11);
    border: 1px solid rgba(190, 130, 40, 0.35);
}

.status-accepted {
    color: #75c58a;
    background: rgba(70, 180, 100, 0.10);
    border: 1px solid rgba(70, 180, 100, 0.30);
}

.status-rejected {
    color: #d87979;
    background: rgba(220, 70, 70, 0.10);
    border: 1px solid rgba(220, 70, 70, 0.30);
}

.status-unknown {
    color: #cccccc;
    background: #252525;
    border: 1px solid #3b3b3b;
}


/* =========================================================
   BAŞVURU DETAY BÖLÜMLERİ
   ========================================================= */

.application-details {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.application-details h4,
.application-management h4 {
    margin-bottom: 14px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}


/* =========================================================
   OYUNCU BİLGİLERİ
   ========================================================= */

.application-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
}

.application-detail {
    min-width: 0;
    padding: 12px;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
}

.detail-label {
    display: block;
    margin-bottom: 3px;
    color: #777777;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.application-detail strong {
    display: block;
    overflow-wrap: anywhere;
    color: #dddddd;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
}


/* =========================================================
   INSTAGRAM PROFİL LİNKİ
   ========================================================= */

.instagram-profile-link {
    color: #e85d2a;
    text-decoration: none;
    font-weight: 700;
    transition:
        color 0.2s ease,
        text-shadow 0.2s ease;
}

.instagram-profile-link:hover {
    color: #ff7a45;
    text-decoration: underline;
    text-shadow:
        0 0 10px rgba(232, 93, 42, 0.25);
}


/* =========================================================
   BAŞVURU CEVAPLARI
   ========================================================= */

.application-answer-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.application-answer-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    padding: 10px 12px;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.application-answer-row span {
    color: #999999;
    font-size: 12px;
    line-height: 1.45;
}

.application-answer-row strong {
    max-width: 58%;
    color: #dddddd;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
    text-align: right;
}


/* =========================================================
   INSTAGRAM İLETİŞİM
   ========================================================= */

.application-contact-box {
    margin-top: 18px;
}

.application-contact-checkbox {
    margin-top: 0;
    align-items: center;
    color: #dddddd;
    background: #111111;
    border-color: rgba(232, 93, 42, 0.12);
}

.application-contact-checkbox:hover {
    background: #161616;
    border-color: rgba(232, 93, 42, 0.28);
}

.application-contact-checkbox input[type="checkbox"] {
    margin-top: 0;
}


/* =========================================================
   YÖNETİCİ İŞLEMLERİ
   ========================================================= */

.application-management {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.application-management > label {
    display: block;
    margin: 13px 0 8px;
    color: #bdbdbd;
    font-size: 12px;
    font-weight: 700;
}

.application-management > label:first-of-type {
    margin-top: 0;
}


/* =========================================================
   YÖNETİCİ SELECT
   ========================================================= */

.application-status {
    min-height: 45px;
}


/* =========================================================
   YÖNETİCİ NOTU
   ========================================================= */

.application-note {
    min-height: 100px;
}


/* =========================================================
   KAYDET BUTONU
   ========================================================= */

.save-application-button {
    width: 100%;
    min-height: 46px;
    margin-top: 12px;
    padding: 10px 16px;
    color: #ffffff;
    background: linear-gradient(
        180deg,
        #e86a36 0%,
        #c7471c 100%
    );
    border: 1px solid #ef7543;
    border-radius: 8px;
    outline: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
    transition:
        transform 0.15s ease,
        filter 0.15s ease,
        box-shadow 0.15s ease;
}

.save-application-button:hover {
    filter: brightness(1.08);
    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.40),
        0 0 16px rgba(232, 93, 42, 0.12);
}

.save-application-button:active {
    transform: translateY(1px);
}

.save-application-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}


/* =========================================================
   KAYDETME MESAJI
   ========================================================= */

.application-save-message {
    margin-top: 12px;
    margin-bottom: 0;
    padding: 12px 14px;
    border-radius: 8px;
}

.application-save-message p {
    font-size: 12px;
}


/* =========================================================
   BOŞ SONUÇ
   ========================================================= */

.empty-state {
    margin-top: 8px;
    padding: 35px 25px;
    background: rgba(24, 24, 24, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 13px;
    text-align: center;
}

.empty-state h3 {
    color: #ffffff;
    font-size: 17px;
}

.empty-state p {
    max-width: 500px;
    margin: 8px auto 0;
    color: #888888;
    font-size: 13px;
}


/* =========================================================
   YÖNETİCİ GİRİŞ FORMU
   ========================================================= */

#adminLoginForm {
    display: flex;
    flex-direction: column;
}

#adminLoginForm label {
    display: block;
    margin-top: 18px;
    margin-bottom: 8px;
    color: #eeeeee;
    font-size: 13px;
    font-weight: 600;
}

#adminLoginForm label:first-of-type {
    margin-top: 0;
}

#loginButton {
    width: 100%;
    min-height: 52px;
    margin-top: 20px;
    padding: 13px 18px;
    color: #ffffff;
    background: linear-gradient(
        180deg,
        #e86a36 0%,
        #c7471c 100%
    );
    border: 1px solid #ef7543;
    border-radius: 9px;
    outline: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.7px;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition:
        transform 0.15s ease,
        filter 0.15s ease,
        box-shadow 0.15s ease;
}

#loginButton:hover {
    filter: brightness(1.08);
    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.45),
        0 0 18px rgba(232, 93, 42, 0.15);
}

#loginButton:active {
    transform: translateY(1px);
}

#loginButton:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}


/* =========================================================
   MOBİL
   ========================================================= */

@media (max-width: 600px) {

    .container {
        width: min(100% - 20px, 1500px);
        padding: 30px 0 50px;
    }

    .header {
        margin-bottom: 25px;
        padding: 72px 14px 24px;
    }

    .header h1 {
        letter-spacing: 1.2px;
    }

    .header h2 {
        margin-top: 6px;
    }

    .header p {
        max-width: 100%;
        font-size: 13.5px;
        line-height: 1.65;
    }


    /* =====================================================
       ÇIKIŞ BUTONU MOBİL
       ===================================================== */

    .admin-logout-button {
        top: 15px;
        right: 14px;

        width: auto;
        min-width: 100px;
        min-height: 41px;
        padding: 9px 13px;

        color: #ffffff;

        background: linear-gradient(
            180deg,
            #f06a35 0%,
            #c63d16 100%
        );

        border-color: #ff7a45;

        font-size: 11px;

        box-shadow:
            0 7px 20px rgba(0, 0, 0, 0.50),
            0 0 20px rgba(232, 93, 42, 0.20),
            inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }

    .admin-logout-button:hover {
        background: linear-gradient(
            180deg,
            #ff7841 0%,
            #d9481b 100%
        );

        border-color: #ff9365;
    }


    /* =====================================================
       BİLGİ KARTI MOBİL
       ===================================================== */

    .info-card {
        padding: 19px 17px;
        border-radius: 11px;
    }

    .info-card-header h3 {
        font-size: 16px;
    }

    .info-card-content p {
        font-size: 13px;
        line-height: 1.65;
    }


    .form-section {
        padding: 22px 18px;
        border-radius: 11px;
    }

    .form-section h3 {
        margin-bottom: 20px;
        font-size: 18px;
    }

    .form-section > label:not(.checkbox) {
        font-size: 14.5px;
        font-weight: 700;
    }

    input[type="text"],
    input[type="number"],
    input[type="email"],
    input[type="password"],
    input[type="search"] {
        min-height: 47px;
        font-size: 14px;
    }

    select {
        width: 100%;
        min-height: 44px;
        padding: 9px 14px;
        font-size: 13px;
    }

    /*
       Public form selectleri mobilde de %40.
       Admin panel selectleri burada etkilenmez.
    */
    .form-section select {
        width: 40%;
    }

    .options {
        gap: 8px;
    }

    .options label {
        flex: 1 1 0;
        width: auto;
        min-height: 45px;
        padding: 9px 10px;
        font-size: 13.5px;
    }

    .checkbox {
        padding: 12px;
        font-size: 13px;
    }

    #submitButton,
    .primary-button {
        min-height: 52px;
    }

    .result-message {
        padding: 24px 18px;
    }


    /* =====================================================
       BAŞVURU BAŞARI MESAJI MOBİL
       ===================================================== */

    .result-message.success {
        padding: 28px 20px;
    }

    .result-message.success h3 {
        font-size: 21px;
    }

    .success-main-text {
        font-size: 15px !important;
    }

    .instagram-notice {
        padding: 16px;
    }

    .instagram-notice strong {
        font-size: 15px;
    }

    .instagram-notice p {
        font-size: 13px;
    }


    /* =====================================================
       YÖNETİM PANELİ MOBİL
       ===================================================== */

    .admin-toolbar {
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 15px;

        padding: 20px 18px;
    }

    .admin-toolbar-actions {
        width: 100%;
        flex-direction: column;
        align-items: flex-end;
    }

    .admin-toolbar-actions .secondary-button {
        width: 100%;
    }

    .admin-toolbar-info h3 {
        font-size: 19px;
    }

    .secondary-button {
        width: 100%;
    }


    /* =====================================================
       YENİLE BUTONU MOBİL
       ===================================================== */

    .admin-toolbar-actions .admin-refresh-button {
        width: auto;
        min-width: 120px;
        min-height: 40px;

        align-self: flex-end;

        padding: 8px 16px;

        color: #d8d8d8;

        background: linear-gradient(
            180deg,
            #303030 0%,
            #202020 100%
        );

        border-color: #4b4b4b;

        font-size: 11px;

        box-shadow:
            0 5px 15px rgba(0, 0, 0, 0.30),
            inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }

    .admin-toolbar-actions .admin-refresh-button:hover {
        color: #ffffff;

        background: linear-gradient(
            180deg,
            #3a3a3a 0%,
            #282828 100%
        );

        border-color: #666666;
    }


    /* =====================================================
       ÇIKIŞ BUTONU MOBİL - ORTAK SECONDARY OVERRIDE
       ===================================================== */

    .admin-logout-button {
        width: auto;
    }


    .application-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .stat-card {
        padding: 14px 8px;
    }

    .stat-card:first-child {
        grid-column: 1 / -1;
    }

    .stat-value {
        font-size: 22px;
    }


    .admin-filters {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 17px;
    }


    .application-card {
        padding: 18px;
        border-radius: 11px;
    }

    .application-card-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .application-card-header h3 {
        font-size: 19px;
    }

    .application-status-badge {
        align-self: flex-start;
    }


    .application-detail-grid {
        grid-template-columns: 1fr;
        gap: 7px;
    }


    .application-answer-row {
        flex-direction: column;
        gap: 4px;
    }

    .application-answer-row strong {
        max-width: 100%;
        text-align: left;
    }


    .application-contact-checkbox {
        align-items: flex-start;
    }


    .application-management {
        margin-top: 17px;
        padding-top: 17px;
    }

}


/* =========================================================
   ÇOK KÜÇÜK EKRANLAR
   ========================================================= */

@media (max-width: 380px) {

    .container {
        width: min(100% - 14px, 1500px);
    }

    .form-section {
        padding: 19px 14px;
    }

    .options {
        flex-direction: row;
        gap: 7px;
    }

    .options label {
        flex: 1 1 0;
        width: auto;
        justify-content: center;
    }

    .header {
        padding-top: 68px;
    }

    .header p {
        font-size: 13px;
    }

    .checkbox {
        gap: 10px;
    }


    /* Bilgi kartı */

    .info-card {
        padding: 17px 14px;
    }


    /* Yönetim paneli */

    .admin-toolbar {
        padding: 17px 14px;
    }

    .admin-logout-button {
        top: 12px;
        right: 12px;

        width: auto;
        min-width: 90px;
        min-height: 39px;
        padding: 8px 11px;

        font-size: 10.5px;

        box-shadow:
            0 6px 18px rgba(0, 0, 0, 0.50),
            0 0 17px rgba(232, 93, 42, 0.20),
            inset 0 1px 0 rgba(255, 255, 255, 0.14);
    }

    .admin-toolbar-actions .admin-refresh-button {
        width: auto;
        min-width: 110px;
        min-height: 38px;

        padding: 7px 14px;

        font-size: 10.5px;
    }

    .application-card {
        padding: 15px;
    }

    .application-card-header h3 {
        font-size: 18px;
    }

    .application-detail {
        padding: 10px;
    }

    .application-answer-row {
        padding: 9px 10px;
    }

    .admin-filters {
        padding: 14px;
    }

    .stat-card {
        padding: 12px 7px;
    }

    .stat-label {
        font-size: 10px;
    }

    .stat-value {
        font-size: 20px;
    }

}
