/* Gören Duyan - v2 tasarım dili (kurumsal sayfalar)
   Tailwind paletinin saf CSS portu */

.gdv2-page {
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 50%, #eef2ff 100%);
    padding: 48px 0 64px 0;
    min-height: 70vh;
}

.gdv2-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Sidebar + içerik ızgarası */
.gdv2-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

/* Mobilde sidebar içeriğin ALTINDA görünsün */
.gdv2-grid > aside {
    order: 2;
}

.gdv2-grid > main {
    order: 1;
}

@media (min-width: 992px) {
    .gdv2-grid {
        grid-template-columns: 1fr 3fr;
    }

    .gdv2-grid > aside,
    .gdv2-grid > main {
        order: 0;
    }
}

/* Kurumsal sidebar */
.gdv2-sidebar {
    position: sticky;
    top: 90px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
    padding: 16px;
    align-self: start;
}

.gdv2-sidebar h3 {
    font-size: 16px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 16px;
}

.gdv2-sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 4px;
    color: #4b5563;
    font-size: 15px;
    transition: background .15s, color .15s;
}

.gdv2-sidebar-nav a:hover {
    background: #f9fafb;
    color: #4b5563;
    text-decoration: none;
}

.gdv2-sidebar-nav a.active {
    background: #eff6ff;
    color: #2563eb;
}

.gdv2-sidebar-nav svg {
    height: 20px;
    width: 20px;
    flex-shrink: 0;
}

/* Başlıklar */
.gdv2-h1 {
    font-size: 36px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 16px;
}

.gdv2-lead {
    font-size: 20px;
    color: #4b5563;
    font-weight: 300;
}

.gdv2-h2 {
    font-size: 24px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 16px;
}

.gdv2-h3 {
    font-size: 20px;
    font-weight: 500;
    color: #111827;
    margin: 0;
}

.gdv2-h4 {
    font-size: 16px;
    font-weight: 500;
    color: #111827;
    margin-bottom: 8px;
}

/* Kartlar */
.gdv2-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .07), 0 2px 4px -2px rgba(0, 0, 0, .05);
    padding: 32px;
    margin-bottom: 32px;
}

.gdv2-card-sm {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .07), 0 2px 4px -2px rgba(0, 0, 0, .05);
    padding: 24px;
    transition: box-shadow .15s;
}

.gdv2-card-sm:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .07);
}

/* Metin */
.gdv2-text {
    color: #374151;
    line-height: 1.7;
}

.gdv2-text p {
    margin-bottom: 16px;
}

.gdv2-muted {
    color: #6b7280;
}

/* İkon kutusu */
.gdv2-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #dbeafe;
    border-radius: 8px;
    padding: 12px;
    flex-shrink: 0;
}

.gdv2-icon-box svg {
    height: 24px;
    width: 24px;
    color: #2563eb;
}

.gdv2-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

/* Izgara yardımcıları */
.gdv2-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .gdv2-grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.gdv2-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .gdv2-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gdv2-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .gdv2-stat-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gdv2-stat-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .07), 0 2px 4px -2px rgba(0, 0, 0, .05);
    padding: 24px;
    text-align: center;
    transition: box-shadow .15s;
}

.gdv2-stat-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .07);
}

.gdv2-stat-card svg {
    height: 32px;
    width: 32px;
    color: #2563eb;
    margin: 0 auto 12px auto;
    display: block;
}

.gdv2-stat-value {
    font-size: 24px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.gdv2-stat-label {
    font-size: 14px;
    color: #4b5563;
}

/* Butonlar */
.gdv2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 11px 20px;
    font-size: 15px;
    font-weight: 400;
    transition: background .15s;
    cursor: pointer;
}

.gdv2-btn:hover {
    background: #1d4ed8;
    color: #fff;
    text-decoration: none;
}

.gdv2-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 15px;
    transition: background .15s, border-color .15s;
    cursor: pointer;
}

.gdv2-btn-outline:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #374151;
    text-decoration: none;
}

/* Form elemanları */
.gdv2-input,
.gdv2-textarea,
.gdv2-select {
    display: block;
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 15px;
    font-weight: 300;
    color: #111827;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}

.gdv2-input:focus,
.gdv2-textarea:focus,
.gdv2-select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

.gdv2-label {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: #374151;
    margin-bottom: 6px;
}

.gdv2-field {
    margin-bottom: 20px;
}

.gdv2-error {
    display: block;
    font-size: 13px;
    color: #dc2626;
    margin-top: 5px;
}

/* Rozetler */
.gdv2-badge {
    display: inline-block;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 13px;
    border-radius: 9999px;
    padding: 4px 12px;
}

@media (max-width: 480px) {
    .gdv2-h1 {
        font-size: 28px;
    }

    .gdv2-lead {
        font-size: 17px;
    }

    .gdv2-card {
        padding: 22px;
    }
}
