/* Main Layout */
.content-area {
    /* display: flex; */
    gap: 20px;
}

body {
    font-family: 'Manrope', sans-serif;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
}

.page-dashboard-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    padding: 1.5rem;
    min-height: 100vh;
}

.met-bg{
    background-color: #F5F9FE;
}

.page-main-content {
    flex: 1;
    min-width: 300px;
}

.upgrade {
    background: linear-gradient(90deg, #7b61ff, #a278f0);
    border-radius: 1rem;
    padding: 1.5rem;
    color: white;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.practice-mock {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.text-content {
    z-index: 2;
    max-width: 100%;
}

#MainHead {
    font-size: 2rem;
}

.practice-mock h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.subtext {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.buttons {
    display: flex;
    gap: 0.75rem;
}

.get-started,
.learn-more {
    padding: 0.6rem 1.2rem;
    border-radius: 0.75rem;
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
}

.get-started {
    background-color: white;
    color: #7b61ff;
}

.learn-more {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.get-started:hover,
.learn-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mock-image {
    height: 250px;
    width: auto;
    flex-shrink: 0;
    max-width: 100%;
}

.feature-section {
    padding-top: 1.5rem;
    font-family: "Manrope", sans-serif;
}

.badges {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.badge {
    flex: 1;
    min-width: 150px;
    max-width: 200px;
    display: flex;
    align-items: center;
    background-color: #a278f0;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.85rem;
    gap: 0.75rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
    white-space: nowrap;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.card {
    background-color: #F5F9FE;
    border-radius: 1rem;
    border: 1px solid #E3E9F0 !important;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    font-size: 1rem;
    color: #222;
    min-height: 90px;
}

.card img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
}

.card h3 {
    margin: 0;
    line-height: 1.2;
    font-weight: 700;
    font-size: 16px;
    color: #3B4054;
}

.card p {
    margin: 0;
    line-height: 1.2;
    font-weight: 500;
    font-size: 12px;
    color: #3B4054;
}

.card:hover {
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.cards .selected{
    background-color: #5170FF;
}

.cards .selected p,
.cards .selected h3{
    color: #FFFFFF;
}

.start-button {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #ff4d4d;
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.start-button:hover {
    background-color: #d93636;
    transform: scale(1.05);
    }

.right-sidebar {
    width: 270px;
    margin-left: 62px;
    background-color: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    height: fit-content;
    /* margin-left: 124px; */
}

.sidebar-section {
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.sidebar-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* User Info Section */
.user-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.user-details h3 {
    font-size: 1.5rem;
    color: #1a202c;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.user-email {
    color: #718096;
    font-size: 1rem;
}

.user-avatar img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

/* Test Date Section */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-title {
    font-family: inherit;
    font-size: 22px !important;
    font-weight: 700;
    color: #3B4054;
}

.section-title span{
    font-size: 16px;
    font-weight: 500;
    color: #3B4054;
    font-family: inherit;
}

.section-title::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 0px !important;
    height: 50px !important;
    width: 5px !important;
    background-color: #4a69f5 !important;
    border-radius: 5px !important;
}

.section-header h3 {
    font-size: 1.25rem;
    color: #1a202c;
    font-weight: 600;
}

.more-options {
    background: none;
    border: none;
    color: #718096;
    cursor: pointer;
    padding: 0.5rem;
}

.date-card {
    background-color: #ff69b4;
    color: white;
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    /* margin-right: 85px; */
    padding: 6px 12px 6px 12px;
}

.date-card .year {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.date-card .month {
    font-size: 1.5rem;
    font-weight: 4000;
    margin: 0.5rem 0;
}

.date-card .day {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin: 0.5rem 0;
}

.date-card .subject {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0.5rem 0 0;
}

/* Book Class Section */
.sidebar-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1rem;
    background-color: #f7fafc;
    border: none;
    border-radius: 1rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-button:hover {
    background-color: #cb6ce6;
    transform: translateX(4px);
}

.sidebar-button .icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e2e8f0;
    border-radius: 0.75rem;
    color: #4a5568;
}

.sidebar-button span {
    flex: 1;
    text-align: left;
    color: #2d3748;
    font-weight: 600;
    font-size: 1.125rem;
}

/* Message Section */
.message-button {
    background: linear-gradient(180deg, #2ecac8 0%, #338886 100%);
    color: white;
    height: 100px;
}

.message-button:hover {
    background-color: #6d28d9;
}

.message-button .icon {
    background-color: white;
}

.message-button span {
    color: white;
}

.center-wrapper {
    margin: 60px auto;
    max-width: 900px;
    padding: 0 20px;
}

/* Header Style */
.ques-header {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #4c418d;
    margin-bottom: 40px;
}

/* FAQ List Container */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* FAQ Card Item */
.faq-item {
    background-color: #f3f0ff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(78, 64, 187, 0.1);
    transition: background-color 0.3s, box-shadow 0.3s;
}

.faq-item:hover {
    background-color: #ebe5ff;
    box-shadow: 0 6px 16px rgba(78, 64, 187, 0.2);
}

/* FAQ Question Button */
.faq-question {
    width: 100%;
    padding: 18px 24px;
    font-size: 17px;
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #3e366b;
    transition: color 0.3s ease;
}

.faq-question span {
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-question i {
    font-size: 18px;
    color: #6b5ecf;
}

/* Arrow Styling */
.faq-question .arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
    color: #6b5ecf;
}

.faq-item.active .faq-question .arrow {
    transform: rotate(180deg);
}

/* Answer Section */
.faq-answer {
    max-height: 0;
    overflow: auto;
    opacity: 0;
    padding: 0 24px;
    transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.3s ease;
    color: #4a4a4a;
    font-size: 15px;
    font-weight: 550;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 600px;
    opacity: 1;
    padding: 16px 24px 24px;
}

/* Responsive Image */
.faq-answer img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-top: 15px;
    border-radius: 10px;
}

/* Optional: Add subtle border to answer area */
.faq-answer {
    border-top: 1px solid #d9d4f3;
}

@media (max-width: 1024px) {
    .content-area {
        flex-direction: column;
    }

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

    .right-sidebar {
        width: 100%;
        margin-top: 2rem;
    }

    .badges {
        justify-content: center;
    }

    .practice-mock {
        flex-direction: column;
        align-items: flex-start;
    }

    .mock-image {
        height: auto;
        width: 100%;
        max-width: 280px;
    }
}






/* CSS for full maock test section */

.ci4-mock-wrapper{
    margin:40px auto;
    font-family:Manrope, sans-serif;
}

/* Tabs */
.ci4-tabs{
    display:flex;
    gap:15px;
    margin-bottom:30px;
}

.ci4-tab{
    padding:10px 22px;
    border-radius:12px;
    color:#3B4054;
    background-color: #F5F9FE;
    font-weight:500;
    cursor:pointer;
    border: 1px solid #E3E9F0;
    font-size: 16px;
    font-weight: 500;
    font-family: inherit;
}

.ci4-tab.active{
    background: #5170FF;
    color: #FFFFFF;
    border: 1px solid #3B4054;
    font-size: 16px;
    font-weight: 500;
    font-family: inherit;
}

/* Grid */
.ci4-mock-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px 40px;
}

/* Item */
.ci4-mock-item{
    position:relative;
    padding:14px 20px;
    border-radius:10px;
    text-align:center;
    font-weight:500;
    color:#fff;
    background:rgba(81, 112, 255, 0.5);
    border: 1px solid #3B4054;
}

/* Active */
.ci4-mock-item.active{
    background:#5170FF;
}

/* Lock */
.ci4-lock{
    position:absolute;
    right:12px;
    top:50%;
    transform:translateY(-50%);
}

.ci4-lock svg{
    width:18px;
    fill:#fff;
    opacity:0.9;
}
/* end */







.sec-wrapper{
    width: 100%;
}

/* TABS */
.sec-tabs{
    display:flex;
    gap:60px;
    border-bottom:2px solid #e5e7eb;
    margin-bottom:20px;
}

.sec-tab{
    padding:10px 0;
    cursor:pointer;
    font-weight:600;
    color:#6b7280;
    position:relative;
}

.sec-tab.active{
    color:#4f6ef7;
}

.sec-tab.active::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-2px;
    width:100%;
    height:3px;
    background:#4f6ef7;
    border-radius:2px;
}

/* CONTENT */
.sec-content{
    display:none;
}
.sec-content.active{
    display:block;
}

/* GRID */
.sec-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}

/* CARD */
.sec-card{
    background: #EDF5FF;
    border-radius: 8px;
    padding: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sec-left{
    display:flex;
    gap:15px;
    align-items:center;
}

.sec-circle{
    width:55px;
    height:55px;
    border-radius:50%;
    background:linear-gradient(135deg,#4f6ef7,#5a67d8);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:600;
    font-size:18px;
}

.sec-card h4{
    color: #3B4054;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
}

.sec-card p{
    margin:4px 0 0;
    font-size:14px;
    color:#6b7280;
}

/* ARROW */
.sec-arrow{
    font-size:28px;
    color:#9ca3af;
}
