/* News dashboard styling */
.news-hero-card {
    background:
        radial-gradient(
                circle at 20% 20%,
                rgba(99, 132, 255, 0.35),
                rgba(99, 132, 255, 0)
            )
            no-repeat,
        linear-gradient(135deg, #1f2a4d 0%, #14203d 60%, #0f162e 100%);
    color: #f4f6ff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    overflow: hidden;
}
.news-hero-card .card-body {
    position: relative;
    z-index: 1;
}
.news-hero-card::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.08),
        transparent 60%
    );
    top: -80px;
    right: -80px;
}
.news-hero-icon {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.16);
    color: #e6ecff;
}
.news-mini-card {
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}
.news-mini-card .avatar {
    background: rgba(99, 132, 255, 0.12);
    color: #3248e5;
}
.news-filters .input-group-text {
    background: transparent;
    border-right: 0;
}
.news-filters .form-control {
    border-left: 0;
}
.status-filter .btn {
    border-color: var(--bs-border-color);
}
.status-filter .btn.active {
    background: #14203d;
    color: #f4f6ff;
    border-color: #14203d;
}
.news-table-card .card-header {
    border-bottom: none;
}
.news-table-card .card-datatable {
    border-top: 1px solid var(--bs-border-color);
}
.news-view-meta {
    background: #f5f7fb;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
}
@media (max-width: 991px) {
    .news-hero-card {
        text-align: left;
    }
    .news-filters .input-group {
        width: 100%;
    }
    .status-filter .btn {
        width: 100%;
    }
}

.phone-frame {
    width: 360px;
    /* Typical mobile width */
    height: 700px;
    /* Typical mobile height */
    background-color: #333;
    /* Phone body color */
    border-radius: 40px;
    /* Rounded corners of the phone */
    padding: 15px;
    /* Space for bezels */
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
    /* Shadow for depth */
    position: relative;
    /* For positioning internal elements */
    margin: auto;
    /* Center the frame */
}

.phone-screen {
    width: 100%;
    height: 100%;
    background-color: #fff;
    /* Screen background color */
    border-radius: 25px;
    /* Rounded corners of the screen */
    overflow: hidden;
    /* Hide content overflowing the screen */
}

/* Optional: Add a notch or speaker */
.phone-frame::before {
    content: "";
    display: block;
    width: 120px;
    height: 25px;
    background-color: #222;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

/* Optional: Add a home button */
.phone-frame::after {
    content: "⚫"; /* Home button icon - you can use: ⚪ ⬜ ⚫ ◯ ● ▢ ▣ */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60px;
    background-color: #222;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 24px;
    color: #666;
}
/* Override mobile mockup styling for better right-column fit */
.phone-frame {
    width: 320px;
    max-width: 100%;
    height: 640px;
    background-color: #1f2533;
    border-radius: 32px;
    padding: 14px 12px 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    position: relative;
    margin: 0 auto;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.phone-frame::before {
    content: "";
    display: block;
    width: 96px;
    height: 16px;
    background-color: #111827;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.phone-frame::after {
    content: "";
    display: block;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #2f3b52;
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.08);
}
