/* ==========================================================================
   TERFIUI v5 - Kurumsal Çözümler (B2B) Modüler CSS
   ========================================================================== */

/* Kompakt Ödeme Tamamlama Hero Kartı (Kompakt İnce Görünüm) */
.gd-krmpay-hero-compact {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 14px 18px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0 !important;
}

.gd-krmpay-hero-compact .gd-page-header-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gd-krmpay-hero-compact .gd-page-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
}

.gd-krmpay-hero-compact .gd-page-subtitle {
    font-size: 12.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

/* Kompakt Kurumsal Yönetim Paneli Hero Kartı (Kompakt İnce Görünüm) */
.gd-krmp-hero-compact {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 14px 18px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0 !important;
}

.gd-krmp-hero-compact .gd-page-header-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gd-krmp-hero-compact .gd-page-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
}

.gd-krmp-hero-compact .gd-page-subtitle {
    font-size: 12.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

/* Kompakt Kurumsal Hero Kartı (Kompakt İnce Görünüm) */
.gd-krm-hero-compact {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 14px 18px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0 !important;
}

.gd-krm-hero-compact .gd-page-header-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gd-krm-hero-compact .gd-page-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
}

.gd-krm-hero-compact .gd-page-subtitle {
    font-size: 12.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

/* Page Body Layout Alignment — site.css .gd-page-body ana omurgasına bağlı */

/* Header (Hero) Card */
.gd-corp-header {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.gd-corp-header-main {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.gd-corp-header-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    flex-shrink: 0;
}

.gd-corp-header-text {
    min-width: 0;
}

.gd-corp-header-title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px 0;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.gd-corp-header-subtitle {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.gd-corp-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.gd-corp-header-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 750;
    color: #2563eb;
    text-decoration: none;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.gd-corp-header-btn:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

/* Info Cards Grid (Top Section - duo/ 1:1 Uyumlu Kart Yapısı) */
.gd-corp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 8px;
    width: 100%;
}

@media (max-width: 992px) {
    .gd-corp-grid {
        grid-template-columns: 1fr;
    }
}

.gd-corp-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    text-align: left;
}

.gd-corp-card:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.gd-corp-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gd-corp-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.gd-corp-card-icon.blue { background: #eff6ff; color: #2563eb; }
.gd-corp-card-icon.purple { background: #f3e8ff; color: #7c3aed; }
.gd-corp-card-icon.emerald { background: #ecfdf5; color: #059669; }

.gd-corp-card-title {
    font-size: 15.5px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.25;
}

.gd-corp-card-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Split Layout (Form + Benefits) */
.gd-corp-split-layout {
    display: flex;
    flex-direction: row;
    gap: 16px;
    margin-top: 8px;
    align-items: stretch;
    width: 100%;
}

.gd-corp-main-col {
    flex: 1.2;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    min-width: 0;
}

.gd-corp-side-col {
    flex: 0.8;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    min-width: 0;
}

.gd-corp-section-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.gd-corp-success-badge {
    background: #dcfce7;
    color: #16a34a;
    border: 1px solid #bbf7d0;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 750;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

/* Success Box */
.gd-corp-success-box {
    background: #ecfdf5;
    border: 1px solid #10b981;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    color: #047857;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.gd-corp-success-title {
    margin: 0;
    font-weight: 850;
    font-size: 20px;
}

.gd-corp-success-desc {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Form Controls */
.gd-corp-form-group {
    margin-bottom: 16px;
}

.gd-corp-form-label {
    display: block;
    font-size: 12.5px;
    font-weight: 750;
    margin-bottom: 6px;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gd-corp-input-wrap {
    position: relative;
    width: 100%;
}

.gd-corp-input {
    width: 100%;
    padding: 11px 14px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    background: #ffffff;
    transition: all 0.2s ease;
}

.gd-corp-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.gd-corp-input-wrap .valid-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%) scale(0.6);
    color: #10b981;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.gd-corp-input-wrap .valid-icon.is-valid {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
}

.gd-corp-input-wrap.is-valid .gd-corp-input {
    border-color: #10b981 !important;
    padding-right: 38px;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.gd-corp-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.gd-corp-btn-submit {
    width: 100%;
    background: #2563eb;
    color: #ffffff;
    padding: 13px;
    border-radius: 8px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13.5px;
}

.gd-corp-btn-submit:hover {
    background: #1d4ed8;
}

.gd-corp-whatsapp-box {
    margin-top: 24px;
    text-align: center;
}

.gd-corp-whatsapp-text {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 12px;
    font-weight: 500;
}

.gd-corp-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 800;
    color: #10b981;
    border: 2px solid #10b981;
    background: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gd-corp-whatsapp-btn:hover {
    background: #10b981;
    color: #ffffff;
}

/* Check List (Benefits) */
.gd-corp-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gd-corp-check-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #475569;
    font-weight: 500;
    line-height: 1.5;
}

.gd-corp-check-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .gd-corp-split-layout {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .gd-corp-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .gd-corp-header-actions {
        width: 100%;
    }

    .gd-corp-header-btn {
        width: 100%;
        justify-content: center;
    }
}
