.exambihari-app-wrapper {
    background-color: #e9ecef;
    padding: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.exambihari-app-container {
    background-color: #f8f9fa;
    color: #212529;
    max-width: 480px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding-bottom: 75px;
}

@media (min-width: 768px) {
    .exambihari-app-container {
        max-width: 520px;
    }
}

/* Top App Bar */
.eb-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #ffffff;
    border-bottom: 1px solid #dee2e6;
    position: sticky;
    top: 0;
    z-index: 100;
}

.eb-tb-left, .eb-tb-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.eb-icon-btn {
    background: #f1f3f5;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #495057;
    position: relative;
}

.eb-logo-badge {
    background: var(--eb-primary, #0b5ed7);
    color: #fff;
    font-weight: 800;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.eb-brand-logo-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.eb-brand-title {
    display: flex;
    flex-direction: column;
}

.eb-brand-title .eb-name {
    font-weight: 700;
    font-size: 16px;
    color: #0b5ed7;
    line-height: 1.1;
}

.eb-brand-title small {
    font-size: 9px;
    color: #6c757d;
}

.eb-notif-wrap .eb-badge-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #fa5252;
    color: #fff;
    font-size: 8px;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 10px;
}

/* Hero Section */
.eb-hero-section {
    background: linear-gradient(135deg, #0b5ed7, #1864ab);
    color: #fff;
    padding: 24px 16px;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    position: relative;
}

.eb-hero-content h1 {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 8px 0;
}

.eb-hero-content h1 span {
    color: #ffd43b;
}

.eb-hero-content p {
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 16px;
}

.eb-hero-search {
    background: #fff;
    border-radius: 30px;
    display: flex;
    align-items: center;
    padding: 4px 4px 4px 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.eb-hero-search .dashicons {
    color: #adb5bd;
    font-size: 18px;
}

.eb-hero-search input {
    flex: 1;
    border: none;
    outline: none;
    padding: 8px 10px;
    font-size: 13px;
    background: transparent;
}

.eb-hero-search button {
    background: #fd7e14;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
}

/* Quick Action Grid */
.eb-quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 16px;
}

.eb-qa-item {
    background: #fff;
    padding: 14px 8px;
    border-radius: 16px;
    text-align: center;
    text-decoration: none;
    color: #343a40;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    transition: transform 0.2s;
}

.eb-qa-item:hover {
    transform: translateY(-2px);
}

.eb-qa-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eb-qa-icon .dashicons {
    font-size: 22px;
}

.eb-qa-item span:last-child {
    font-size: 11px;
    font-weight: 600;
}

/* Breaking News Banner */
.eb-breaking-banner {
    background: #fff3bf;
    margin: 0 16px 16px 16px;
    padding: 8px 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    border-left: 4px solid #f59f00;
}

.eb-bb-badge {
    background: #fa5252;
    color: #fff;
    font-size: 9px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.eb-bb-ticker {
    font-size: 12px;
    color: #343a40;
    padding-left: 10px;
    overflow: hidden;
    flex: 1;
}

.eb-bb-action {
    font-size: 11px;
    font-weight: 700;
    color: #0b5ed7;
    text-decoration: none;
    white-space: nowrap;
}

/* Section Header */
.eb-card-section {
    padding: 0 16px 16px 16px;
}

.eb-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.eb-section-title h3 {
    font-size: 15px;
    margin: 0;
    font-weight: 700;
    color: #212529;
}

.eb-section-title a {
    font-size: 12px;
    color: #0b5ed7;
    text-decoration: none;
    font-weight: 600;
}

/* Popular Exams Grid */
.eb-popular-exams-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.eb-exam-tile {
    color: #fff;
    padding: 14px 6px;
    border-radius: 14px;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

.eb-exam-tile .dashicons {
    font-size: 24px;
}

.eb-exam-tile strong {
    font-size: 11px;
    font-weight: 700;
}

/* Latest Updates Stack */
.eb-updates-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.eb-update-row {
    background: #fff;
    padding: 10px 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.eb-ur-icon {
    background: #e7f5ff;
    color: #0b5ed7;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.eb-ur-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.eb-ur-content strong {
    font-size: 12px;
    color: #212529;
    line-height: 1.3;
}

.eb-ur-content small {
    font-size: 10px;
    color: #868e96;
    display: flex;
    align-items: center;
    gap: 2px;
}

.eb-tag-pill {
    background: #fa5252;
    color: #fff;
    font-size: 8px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
    flex-shrink: 0;
}

/* Dual Grid Feature Blocks */
.eb-dual-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 16px 16px 16px;
}

.eb-feature-block {
    background: #fff;
    padding: 14px;
    border-radius: 14px;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.eb-fb-info h4 {
    margin: 0 0 2px 0;
    font-size: 12px;
    color: #0b5ed7;
    font-weight: 700;
}

.eb-fb-info p {
    margin: 0;
    font-size: 10px;
    color: #6c757d;
    line-height: 1.2;
}

.eb-feature-block .dashicons {
    color: #adb5bd;
    font-size: 16px;
}

/* Promo Banner */
.eb-promo-banner-card {
    background: linear-gradient(135deg, #e7f5ff, #d0ebff);
    margin: 0 16px 16px 16px;
    padding: 16px;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.eb-pbc-text h3 {
    margin: 0 0 4px 0;
    font-size: 15px;
    color: #0b5ed7;
    font-weight: 700;
}

.eb-pbc-text p {
    margin: 0 0 10px 0;
    font-size: 11px;
    color: #495057;
}

.eb-playstore-btn {
    background: #000;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-block;
}

.eb-pbc-img {
    font-size: 36px;
}

/* App Bottom Navigation */
.eb-app-bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    border-top: 1px solid #dee2e6;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
}

.eb-abn-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #868e96;
    font-size: 10px;
    gap: 2px;
}

.eb-abn-item.active {
    color: #0b5ed7;
    font-weight: bold;
}

.eb-abn-item .dashicons {
    font-size: 20px;
}