/* ==========================================================================
   MODEL STASH CORE STYLES (Master Edition v15.2)
   ========================================================================== */

/* [1] CORE LAYOUT
   ========================================================================== */
.ms-app-container, .ms-wrapper {
    width: 100%; max-width: 1200px; margin: 0 auto; padding: 0px 15px;
    box-sizing: border-box; color: #fff; font-family: 'Inter', sans-serif;
}
[x-cloak] { display: none !important; }

/* [2] NAVBAR
   ========================================================================== */
.ms-navbar {
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 20px; margin-bottom: 40px;
}
.ms-nav-left { display: flex; align-items: center; gap: 40px; }
.ms-nav-logo { font-size: 22px; font-weight: 800; color: #fff; text-transform: uppercase; text-decoration: none; letter-spacing: 1px; }
.ms-nav-menu { display: flex; gap: 25px; }
.ms-nav-link { color: #aaa; text-decoration: none; font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 6px; transition: 0.3s; }
.ms-nav-link:hover, .ms-nav-link.active { color: #83b735; }
.ms-logout-btn { color: #e74c3c; border: 1px solid rgba(231, 76, 60, 0.4); padding: 6px 15px; border-radius: 30px; font-size: 12px; font-weight: bold; text-decoration: none; transition: 0.3s; display: flex; align-items: center; gap: 5px;}
.ms-logout-btn:hover { background: #e74c3c; color: #fff; }

/* [3] GLOBAL BUTTON SYSTEM (Radius: 30px)
   ========================================================================== */
.ms-btn-core, .ms-modal-btn, .ms-btn-action, .ms-db-btn, .ms-submit-btn, .ms-save-mini, .ms-load-more-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 24px !important; border-radius: 30px !important;
    font-size: 13px !important; font-weight: 600 !important; text-transform: uppercase;
    letter-spacing: 0.5px; cursor: pointer; transition: all 0.2s ease;
    border: 1px solid transparent !important; text-decoration: none; line-height: 1.2;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); min-width: 100px;
}

/* Primary Green */
.ms-btn-core.primary, .ms-modal-btn, .ms-btn-action, .ms-submit-btn, .ms-load-more-btn, .ms-save-mini, .ms-db-btn.owned {
    background-color: #83b735 !important; color: #fff !important; border-color: #83b735 !important;
}
.ms-btn-core.primary:hover, .ms-modal-btn:hover, .ms-btn-action:hover, .ms-submit-btn:hover, .ms-load-more-btn:hover, .ms-save-mini:hover, .ms-db-btn.owned:hover {
    background-color: #72a02d !important; transform: translateY(-2px); box-shadow: 0 6px 12px rgba(131, 183, 53, 0.3);
}

/* Secondary Dark */
.ms-db-btn { background-color: #252525 !important; color: #fff !important; border-color: #444 !important; }
.ms-db-btn:hover { background-color: #83b735 !important; border-color: #83b735 !important; transform: translateY(-2px); }

/* Icon Button (Round) */
.ms-stash-btn-sm {
    width: 36px !important; height: 36px !important; border-radius: 30% !important;
    background: transparent !important; border: 1px solid #555 !important; color: #888 !important;
    display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.2s; padding: 0 !important; min-width: unset !important;
}
.ms-stash-btn-sm:hover { border-color: #83b735 !important; color: #83b735 !important; background: rgba(131, 183, 53, 0.1) !important; }
.ms-stash-btn-sm.owned { background: #83b735 !important; color: #fff !important; border-color: #83b735 !important; }
.ms-stash-btn-sm span.dashicons { font-size: 18px !important; margin: 0 !important; }

/* Back Button */
.ms-back-btn {
    background: transparent !important; border: 1px solid #666 !important; color: #ccc !important;
    padding: 10px 20px !important; border-radius: 30px !important; font-weight: 700 !important;
    font-size: 12px !important; text-transform: uppercase; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: 0.3s; margin-bottom: 20px;
}
.ms-back-btn:hover { border-color: #fff !important; color: #fff !important; background: rgba(255,255,255,0.1) !important; }

button:disabled, .ms-btn-core:disabled { background-color: #444 !important; color: #888 !important; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* [4] DASHBOARD
   ========================================================================== */
.ms-hero-card {
    background: linear-gradient(135deg, #4f3dd3 0%, #302b63 100%); border-radius: 16px; padding: 40px; margin-bottom: 30px; position: relative;
    border: 1px solid rgba(255,255,255,0.1);
}
.ms-hero-title { font-size: 28px; font-weight: 800; margin-bottom: 10px; }
.ms-stats-row { display: flex; gap: 20px; flex-wrap: wrap; }
.ms-stat-item.hover-effect {
    background: rgba(255,255,255,0.1); padding: 10px 20px; border-radius: 30px; font-size: 14px; font-weight: bold; color: #fff; text-decoration: none; display: flex; align-items: center; border: 1px solid transparent; transition: 0.3s;
}
.ms-stat-item.hover-effect:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.4); transform: translateY(-2px); }

.ms-dashboard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-bottom: 40px; }
.ms-action-card { background: #1a1a1a; border: 1px solid #333; border-radius: 12px; padding: 25px; text-decoration: none; color: #fff; transition: 0.3s; display: block; }
.ms-action-card:hover { transform: translateY(-5px); border-color: #555; }
.ms-icon-box { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 15px; font-size: 24px; }
.icon-blue { background: rgba(52, 152, 219, 0.15); color: #3498db; }
.icon-orange { background: rgba(230, 126, 34, 0.15); color: #e67e22; }
.icon-green { background: rgba(46, 204, 113, 0.15); color: #2ecc71; }
.ms-card-title { font-size: 18px; font-weight: bold; margin-bottom: 5px; }
.ms-card-desc { font-size: 13px; color: #888; line-height: 1.4; }

/* [5] PROJECT CARD
   ========================================================================== */
.ms-proj-card-modern {
    background: #1a1a1a; border: 1px solid #333; border-radius: 12px; overflow: hidden; position: relative; transition: transform 0.2s, box-shadow 0.2s;
}
.ms-proj-card-modern:hover { transform: translateY(-5px); border-color: #555; }
.ms-delete-btn {
    position: absolute; top: 10px; right: 10px; z-index: 10; background: rgba(0,0,0,0.6); color: #e74c3c; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.2s; cursor: pointer;
}
.ms-proj-card-modern:hover .ms-delete-btn { opacity: 1; }
.ms-delete-btn:hover { background: #e74c3c; color: #fff; }
.ms-card-img-wrap { position: relative; height: 180px; overflow: hidden; background: #000; }
.ms-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; opacity: 0.9; }
.ms-proj-card-modern:hover img { transform: scale(1.05); opacity: 1; }
.ms-status-pill {
    position: absolute; bottom: 10px; left: 10px; background: rgba(0,0,0,0.8); color: #fff; padding: 4px 10px; border-radius: 20px; font-size: 10px; text-transform: uppercase; font-weight: bold; border: 1px solid rgba(255,255,255,0.2);
}
.ms-card-body { padding: 20px; }
.ms-progress-container { margin-top: auto; }
.ms-progress-label { display: flex; justify-content: space-between; font-size: 11px; color: #888; margin-bottom: 5px; }
.ms-progress-track { width: 100%; height: 6px; background: #333; border-radius: 3px; overflow: hidden; }
.ms-progress-fill { height: 100%; background: linear-gradient(90deg, #83b735, #a8e063); border-radius: 3px; transition: width 0.5s ease; }

/* [6] DISCOVER
   ========================================================================== */
.ms-search-input { width: 100%; padding: 18px 25px; background: #1a1a1a !important; border: 1px solid #333 !important; border-radius: 30px !important; color: #fff !important; font-size: 16px; outline: none; transition: 0.3s; box-shadow: 0 5px 20px rgba(0,0,0,0.3); }
.ms-search-input:focus { border-color: #83b735 !important; background: #222 !important; }
.ms-cat-row { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; margin-bottom: 30px; }
.ms-cat-pill { background: #252525; border: 1px solid #444; padding: 10px 20px; border-radius: 30px; color: #ccc; font-weight: 600; font-size: 13px; cursor: pointer; transition: 0.2s; user-select: none; }
.ms-cat-pill:hover { background: #83b735; color: #fff; border-color: #83b735; transform: translateY(-2px); }

.ms-discover-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ms-db-card { background: #1a1a1a; border: 1px solid #333; border-radius: 12px; padding: 25px; transition: 0.3s; display: flex; flex-direction: column; justify-content: space-between; }
.ms-db-card:hover { border-color: #555; }
.ms-db-header { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; }
.ms-db-color-circle { width: 50px; height: 50px; border-radius: 50%; border: 3px solid rgba(255,255,255,0.1); flex-shrink: 0; }
.ms-db-title { font-size: 18px; font-weight: 600; color: #fff; margin-bottom: 5px; line-height: 1.2; }
.ms-db-code { background: #333; color: #fff; font-size: 12px; padding: 2px 6px; border-radius: 4px; margin-left: 8px; vertical-align: middle; }
.ms-db-desc { font-size: 13px; color: #888; line-height: 1.4; margin-top: 5px; }
.ms-db-sublabel { font-size: 10px; font-weight: bold; color: #666; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.ms-db-equiv-list { background: #222; border-radius: 8px; border: 1px solid #333; margin-bottom: 15px; }
.ms-db-equiv-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 15px; border-bottom: 1px solid #333; font-size: 13px; }
.ms-db-equiv-row:last-child { border-bottom: none; }
.ms-db-dot { width: 8px; height: 8px; background: #444; border-radius: 50%; }
.ms-brand-badge { background: #fff; color: #000; font-size: 10px; font-weight: bold; padding: 2px 5px; border-radius: 4px; margin-right: 5px; }
.ms-mix-badge { background: rgba(241, 196, 15, 0.15); color: #f1c40f; border: 1px solid rgba(241, 196, 15, 0.3); padding: 2px 6px; border-radius: 4px; font-size: 11px; }
.ms-exact-match { color: #2ecc71; font-size: 11px; font-weight: bold; }
.ms-db-footer { font-size: 12px; color: #666; border-top: 1px solid #333; padding-top: 10px; margin-top: auto; }

/* [7] WORKBENCH DETAIL
   ========================================================================== */
.ms-detail-layout { display: grid; grid-template-columns: 350px 1fr; gap: 40px; align-items: start; }
.ms-detail-img { width: 100%; border-radius: 12px; border: 1px solid #333; margin-bottom: 20px; }
.ms-stepper-box { background: #1a1a1a; border: 1px solid #333; border-radius: 12px; padding: 25px; }
.ms-step-wrapper { border-bottom: 1px solid #222; padding-bottom: 15px; margin-bottom: 10px; }
.ms-step-wrapper:last-child { border-bottom: none; }
.ms-step-wrapper.active-wrapper { background: rgba(131, 183, 53, 0.05); border-radius: 8px; padding: 10px; margin: 0 -10px; }
.ms-step-row { display: flex; justify-content: space-between; align-items: center; }
.ms-step-info { display: flex; align-items: center; gap: 15px; cursor: pointer; }
.ms-step-dot { width: 18px; height: 18px; border-radius: 50%; background: #1a1a1a; border: 2px solid #555; transition: 0.3s; }
.ms-step-dot.active-dot { background: #83b735; border-color: #83b735; box-shadow: 0 0 8px rgba(131, 183, 53, 0.6); }
.ms-step-dot.completed { background: #83b735; border-color: #83b735; }
.ms-step-label { font-size: 14px; font-weight: bold; color: #888; }
.ms-step-label.active-text { color: #83b735; font-weight: 800; }
.ms-timer-controls { display: flex; align-items: center; gap: 10px; }
.ms-timer-display { font-family: monospace; font-size: 13px; color: #888; background: #111; padding: 4px 8px; border-radius: 4px; border: 1px solid #333; }
.ms-timer-btn { width: 30px; height: 30px; border-radius: 50%; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #fff; transition: 0.2s; background: #333; }
.ms-timer-btn:hover { background: #444; }
.ms-timer-btn.pause { background: #83b735; animation: pulse 1s infinite; }
.ms-step-note-area { margin-top: 15px; padding-left: 15px; border-left: 2px solid #222; }
.ms-note-input { width: 100%; background: #111; border: 1px solid #333; color: #ccc; padding: 12px; border-radius: 6px; font-size: 13px; margin-bottom: 10px; }
.ms-note-history { background: rgba(255,255,255,0.02); border-radius: 6px; padding: 10px; }
.ms-history-item { border-bottom: 1px solid #222; padding-bottom: 8px; margin-bottom: 8px; }
.ms-history-date { font-size: 10px; color: #83b735; font-family: monospace; }
.ms-history-text { font-size: 13px; color: #ccc; }
.ms-paint-section { background: #1a1a1a; border: 1px solid #333; border-radius: 12px; padding: 25px; }
.ms-section-header { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: bold; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #333; }
.ms-section-header.missing { color: #e74c3c; } .ms-section-header.owned { color: #83b735; }
.ms-paint-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 15px; }
.ms-paint-card { background: #222; border: 1px solid #333; border-radius: 8px; padding: 10px; display: flex; align-items: center; gap: 12px; }
.ms-paint-card.missing { border-left: 3px solid #e74c3c; } .ms-paint-card.owned { border-left: 3px solid #83b735; opacity: 0.8; }
.ms-paint-color { width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); flex-shrink: 0; }
.ms-paint-info { flex: 1; overflow: hidden; }
.ms-paint-code { font-size: 12px; font-weight: bold; color: #fff; }
.ms-paint-name { font-size: 11px; color: #888; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ms-buy-mini { background: #e74c3c; color: #fff; font-size: 10px; padding: 4px 8px; border-radius: 4px; text-decoration: none; font-weight: bold; }
.ms-check-icon { color: #83b735; font-weight: bold; }

/* [8] MODAL & GLOBAL ELEMENTS
   ========================================================================== */
.ms-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.85); z-index: 99999; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(5px); }
.ms-modal { background: #1a1a1a; padding: 30px; border-radius: 16px; width: 90%; max-width: 500px; border: 1px solid #444; box-shadow: 0 20px 50px rgba(0,0,0,0.7); color: #fff; text-align: center; }
.ms-select-box { width: 100%; padding: 12px; background: #252525; border: 1px solid #444; color: #fff; border-radius: 30px; margin: 20px 0; outline: none; }
.ms-modal-cancel { margin-top: 15px; color: #666; cursor: pointer; font-size: 13px; text-decoration: underline; }
.ms-file-upload-btn { display: flex; align-items: center; justify-content: center; width: 100%; padding: 20px; background: #222; border: 2px dashed #444; border-radius: 12px; color: #888; font-weight: bold; cursor: pointer; transition: 0.3s; text-transform: uppercase; font-size: 13px; }
.ms-file-upload-btn:hover { border-color: #83b735; background: #2a2a2a; color: #fff; }
.ms-auth-tabs { display: flex; gap: 20px; margin-bottom: 20px; border-bottom: 2px solid #333; }
.ms-tab { padding-bottom: 10px; cursor: pointer; color: #666; font-size: 16px; font-weight: bold; border-bottom: 2px solid transparent; }
.ms-tab.active { color: #fff; border-bottom-color: #83b735; }
.ms-input-auth { width: 100%; padding: 12px; background: #252525 !important; border: 1px solid #444 !important; border-radius: 30px !important; color: #fff !important; font-size: 14px; box-sizing: border-box; margin-bottom: 15px; }
.ms-input-auth:focus { border-color: #83b735 !important; }
#ms-global-loader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(10, 10, 10, 0.85); backdrop-filter: blur(5px); z-index: 99999999; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s; }
#ms-global-loader.active { opacity: 1; visibility: visible; }
.ms-global-spinner { width: 50px; height: 50px; background: transparent; border: 4px solid rgba(131, 183, 53, 0.2); border-top-color: #83b735; border-radius: 50%; animation: ms-spin 0.8s linear infinite; margin-bottom: 15px; }
.ms-loader-text { color: #fff; font-family: sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; animation: ms-pulse 1.5s infinite; }
@keyframes ms-spin { 0% {transform: rotate(0deg);} 100% {transform: rotate(360deg);} }
@keyframes ms-pulse { 0%, 100% {opacity: 1;} 50% {opacity: 0.5;} }

/* [9] PROFILE PAGE
   ========================================================================== */
.ms-profile-layout { display: grid; grid-template-columns: 350px 1fr; gap: 30px; align-items: start; }
.ms-id-card { background: #1a1a1a; border: 1px solid #333; border-radius: 12px; padding: 40px 20px; text-align: center; position: sticky; top: 20px; }
.ms-rank-badge { display: inline-block; background: rgba(131, 183, 53, 0.15); color: #83b735; padding: 6px 15px; border-radius: 20px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; border: 1px solid rgba(131, 183, 53, 0.3); }
.ms-mascot-img { width: 160px; height: 160px; object-fit: contain; margin: 0 auto 15px auto; filter: drop-shadow(0 5px 15px rgba(0,0,0,0.5)); transition: transform 0.3s; }
.ms-mascot-img:hover { transform: scale(1.05) rotate(2deg); }
.ms-stats-mini { display: flex; justify-content: center; gap: 15px; margin-top: 25px; padding-top: 25px; border-top: 1px solid #2a2a2a; }
.ms-stat-box { background: #252525; padding: 10px 15px; border-radius: 8px; min-width: 100px; border: 1px solid #333; }
.ms-stat-val { font-size: 18px; font-weight: 800; color: #fff; }
.ms-stat-label { font-size: 10px; color: #888; text-transform: uppercase; margin-top: 3px; }
.ms-settings-card { background: #1a1a1a; border: 1px solid #333; border-radius: 12px; padding: 35px; }
.ms-section-title { font-size: 18px; font-weight: 700; color: #fff; border-bottom: 1px solid #333; padding-bottom: 15px; margin-bottom: 25px; }
.ms-form-group { margin-bottom: 25px; }
.ms-label { display: block; color: #ccc; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.ms-pills-container { display: flex; flex-wrap: wrap; gap: 10px; }
.ms-pill { background: #252525; border: 1px solid #444; padding: 8px 16px; border-radius: 20px; font-size: 12px; color: #888; cursor: pointer; transition: all 0.2s; user-select: none; font-weight: 600; }
.ms-pill:hover { border-color: #666; color: #fff; }
.ms-pill.active { background: #83b735; color: #fff; border-color: #83b735; box-shadow: 0 4px 10px rgba(131, 183, 53, 0.3); }
.ms-toggle-row { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid #222; }
.ms-toggle-label { font-size: 14px; color: #ccc; font-weight: 600; }
.ms-switch { position: relative; display: inline-block; width: 46px; height: 24px; }
.ms-switch input { opacity: 0; width: 0; height: 0; }
.ms-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #444; transition: .4s; border-radius: 34px; }
.ms-slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .ms-slider { background-color: #83b735; }
input:checked + .ms-slider:before { transform: translateX(22px); }

/* [10] LANDING PAGE STYLES
   ========================================================================== */

/* Ana Kart Yapısı (Ortalı ve Gölgeli) */
.ms-landing-card {
    display: flex;
    width: 100%;
    max-width: 1000px;
    background: #1a1a1a;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #333;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    margin: 40px auto; /* Dikey ortalama için */
}

/* Sol Taraf (Mavi Gradyan Alan) */
.ms-landing-left {
    flex: 1.2;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 50px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
}

/* Sağ Taraf (Form Alanı) */
.ms-landing-right {
    flex: 0.8;
    padding: 50px;
    background: #1a1a1a;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Giriş/Kayıt Sekmeleri */
.ms-auth-tabs {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    border-bottom: 2px solid #333;
}

.ms-tab {
    padding-bottom: 10px;
    cursor: pointer;
    color: #666;
    font-size: 16px;
    font-weight: 800;
    border-bottom: 3px solid transparent;
    transition: 0.3s;
    user-select: none;
}

.ms-tab.active {
    color: #fff;
    border-bottom-color: #83b735; /* Aktif Yeşil Çizgi */
}

/* Giriş Inputları */
.ms-input-auth {
    width: 100%;
    padding: 14px 20px;
    background: #252525 !important;
    border: 1px solid #444 !important;
    border-radius: 30px !important;
    color: #fff !important;
    font-size: 14px;
    box-sizing: border-box;
    margin-bottom: 15px;
    outline: none;
    transition: 0.3s;
}

.ms-input-auth:focus {
    border-color: #83b735 !important;
    background: #2a2a2a !important;
    box-shadow: 0 0 0 2px rgba(131, 183, 53, 0.2);
}

/* Landing Butonu (Login) */
.ms-submit-btn {
    width: 100%;
    padding: 14px;
    background: #83b735;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s;
    margin-top: 10px;
    display: block;
    text-align: center;
}

.ms-submit-btn:hover {
    background: #72a02d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(131, 183, 53, 0.3);
}

/* Mobil Uyumluluk */
@media(max-width: 900px) {
    .ms-landing-card {
        flex-direction: column;
        margin: 20px 0;
    }
    .ms-landing-left {
        padding: 40px 20px;
        text-align: center;
    }
    .ms-landing-right {
        padding: 30px 20px;
    }
}

/* [11] STASH PAGE (NEW)
   ========================================================================== */
.ms-filter-bar {
    display: flex; gap: 15px; background: #1a1a1a; padding: 20px;
    border-radius: 12px; border: 1px solid #333; margin-bottom: 30px;
    flex-wrap: wrap; align-items: center;
}
.ms-filter-bar input[type="text"], .ms-select-dark {
    background: #252525 !important; border: 1px solid #444 !important;
    color: #fff !important; padding: 12px 20px !important;
    border-radius: 30px !important; font-size: 13px !important;
    outline: none; transition: 0.3s; flex: 1; min-width: 150px;
}
.ms-filter-bar input[type="text"]:focus, .ms-select-dark:focus { border-color: #83b735 !important; }
.ms-empty-state {
    grid-column: 1 / -1; text-align: center; padding: 60px 20px;
    border: 2px dashed #333; border-radius: 12px; color: #666;
    background: rgba(255,255,255,0.02);
}
.ms-empty-state a { color: #83b735; text-decoration: none; font-weight: 800; }

@media(max-width: 900px) { .ms-discover-layout { grid-template-columns: 1fr; } .ms-detail-layout { grid-template-columns: 1fr; } .ms-profile-layout { grid-template-columns: 1fr; } .ms-filter-bar { flex-direction: column; } .ms-select-dark { width: 100%; } }

/* =========================================
   [12] SINGLE KIT PAGE
   ========================================= */

.ms-single-layout {
    display: grid;
    grid-template-columns: 450px 1fr; /* Sol Resim, Sağ Bilgi */
    gap: 40px;
    margin-bottom: 40px;
    align-items: start;
}

/* Sol Resim Kutusu */
.ms-single-img-box {
    background: #000;
    border-radius: 12px;
    border: 1px solid #333;
    overflow: hidden;
    /* Box Shadow YOK */
}
.ms-single-img-box img {
    width: 100%;
    height: auto;
    display: block;
}

/* Sağ Bilgi Alanı */
.ms-single-info {
    padding: 10px 0;
}

.ms-single-title {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin: 10px 0;
    line-height: 1.2;
}

.ms-single-meta {
    font-size: 16px;
    color: #83b735;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ms-single-desc {
    font-size: 15px;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 600px;
}

/* Aksiyonlar (Fiyat & Butonlar) */
.ms-single-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    border-top: 1px solid #333;
    padding-top: 30px;
}

.ms-price-tag {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-right: 10px;
}

.ms-amazon-link {
    color: #e67e22; /* Amazon Turuncusu */
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: 0.2s;
}
.ms-amazon-link:hover { color: #fff; text-decoration: underline; }

/* Responsive */
@media(max-width: 900px) {
    .ms-single-layout { grid-template-columns: 1fr; }
}

/* VIEW TOGGLE BUTTONS */
.ms-view-toggle {
    display: flex;
    background: #252525;
    border-radius: 30px;
    padding: 4px;
    border: 1px solid #444;
}
.ms-view-toggle button {
    background: transparent;
    border: none;
    color: #888;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}
.ms-view-toggle button:hover { color: #fff; }
.ms-view-toggle button.active {
    background: #83b735;
    color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* LIST VIEW LAYOUT (New Style) */
.ms-list-layout {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* List View'da Kit Kartı */
.ms-list-layout .ms-proj-card-modern {
    display: flex;
    flex-direction: row;
    height: 80px; /* Sabit Yükseklik */
    align-items: center;
    padding: 0;
}
.ms-list-layout .ms-card-img-wrap {
    width: 120px;
    height: 100%;
    flex-shrink: 0;
}
.ms-list-layout .ms-status-pill {
    top: 5px; left: 5px; bottom: auto; /* Rozeti yukarı al */
    font-size: 9px; padding: 2px 6px;
}
.ms-list-layout .ms-card-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}
.ms-list-layout .ms-card-title {
    margin: 0;
    font-size: 14px;
    height: auto;
    -webkit-line-clamp: 1; /* Tek satıra düşür */
}
.ms-list-layout .ms-delete-btn {
    position: static; /* Sağ üstten çıkar */
    opacity: 1;
    background: transparent;
    color: #666;
    margin-left: 20px;
}
.ms-list-layout .ms-delete-btn:hover { color: #e74c3c; background: rgba(231,76,60,0.1); }

/* List View'da Boya Kartı */
.ms-list-layout .ms-db-card {
    flex-direction: row;
    align-items: center;
    padding: 10px 20px;
}
.ms-list-layout .ms-db-header {
    margin: 0;
    width: 100%;
}
.ms-list-layout .ms-db-color-circle {
    width: 30px; height: 30px; /* Küçült */
}
.ms-list-layout .ms-db-title {
    font-size: 14px; margin: 0;
}
.ms-list-layout .ms-db-desc { display: none; } /* Açıklamayı gizle */