/**
 * giris_portali.php — rol giriş kartları
 */
.portal-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #ecf0f1;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.portal-main {
    flex: 1;
    padding: 32px 24px 48px;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.portal-intro {
    text-align: center;
    margin-bottom: 36px;
}

.portal-intro h1 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 700;
}

.portal-intro p {
    color: #5d6d7e;
    font-size: 16px;
    line-height: 1.5;
    max-width: 640px;
    margin: 0 auto;
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}

.portal-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.portal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.portal-card-accent {
    height: 5px;
    flex-shrink: 0;
}

.portal-card-body {
    padding: 22px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.portal-card-top {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.portal-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    letter-spacing: -0.5px;
}

.portal-card-titles {
    flex: 1;
    min-width: 0;
}

.portal-card-titles h2 {
    font-size: 17px;
    color: #2c3e50;
    margin: 0 0 4px;
    font-weight: 700;
    line-height: 1.3;
}

.portal-card-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #5d6d7e;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 4px;
}

.portal-card-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 18px;
    flex: 1;
}

.portal-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.portal-btn {
    display: inline-block;
    padding: 11px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.portal-btn-primary {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: #fff;
    flex: 1;
    min-width: 120px;
}

.portal-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(44, 62, 80, 0.35);
    color: #fff;
}

.portal-btn-secondary {
    background: #fff;
    color: #2c3e50;
    border: 2px solid #e2e8f0;
    flex: 1;
    min-width: 100px;
}

.portal-btn-secondary:hover {
    border-color: #5dade2;
    color: #2980b9;
}

.portal-footer-note {
    text-align: center;
    margin-top: 32px;
    font-size: 13px;
    color: #94a3b8;
}

.portal-footer-note a {
    color: #5dade2;
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 600px) {
    .portal-main {
        padding: 20px 16px 32px;
    }

    .portal-intro h1 {
        font-size: 22px;
    }

    .portal-grid {
        grid-template-columns: 1fr;
    }
}
