.page-detail-scenario-role-play {
    background-color: #f8f9fa !important;
}

.scenario-header {
    background: linear-gradient(to right, rgba(20, 66, 234, 0.9), rgba(110, 140, 255, 0.9)), url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?ixlib=rb-1.2.1&auto=format&fit=crop&w=1500&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 7rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.scenario-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #fff;
}

.scenario-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: #fff;
}

.scenario-meta {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.category-badge {
    background: #ff6b6b;
    color: white;
    font-weight: 600;
    padding: 0.6em 1em;
    border-radius: 50px;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.3);
}

.scenario-detail-img {
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.scenario-detail-img:hover {
    transform: scale(1.02);
}

/* Content Styles */
.content-section {
    padding: 5rem 0;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #343a40;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 60px;
    background-color: #1442ea;
}

.content-text {
    color: #495057;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

/* Stats Card */
.stats-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.stat-item {
    margin-bottom: 1rem;
}

.stat-label {
    font-weight: 600;
    color: #6c757d;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-weight: 700;
    color: #343a40;
    font-size: 1.1rem;
}

.stat-icon {
    color: #1442ea;
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

/* Learning Objectives */
.objective-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.objective-item {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1rem;
    color: #495057;
    line-height: 1.6;
}

.objective-item::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #1442ea;
}

/* Scenario Steps */
.steps-container {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 3rem;
}

.steps-container::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: rgba(20, 66, 234, 0.2);
}

.scenario-step {
    position: relative;
    margin-bottom: 2rem;
}

.step-number {
    position: absolute;
    left: -3rem;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #1442ea;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    box-shadow: 0 0 0 5px rgba(20, 66, 234, 0.1);
}

.step-title {
    font-weight: 700;
    color: #343a40;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* Characters Section */
.character-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s;
}

.character-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.character-img {
    height: 180px;
    object-fit: cover;
}

.character-body {
    padding: 1.5rem;
}

.character-name {
    font-weight: 700;
    color: #343a40;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.character-role {
    color: #1442ea;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.character-desc {
    color: #6c757d;
    line-height: 1.6;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 90px;
}

.sidebar-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.sidebar-header {
    background: linear-gradient(135deg, #1442ea, #3c5bff);
    color: white;
    padding: 1.5rem;
    font-weight: 700;
    font-size: 1.3rem;
}

.sidebar-body {
    padding: 1.5rem;
}

.btn-start {
    background: linear-gradient(135deg, #1442ea, #3c5bff);
    color: white;
    border: none;
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    margin-top: 1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(20, 66, 234, 0.3);
}

.btn-start:hover {
    background: #0c31c9;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(20, 66, 234, 0.4);
    color: white;
}

.btn-start i {
    margin-right: 0.5rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f8f9fa;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    margin-right: 0.5rem;
    transition: all 0.3s;
}

.share-btn:hover {
    background-color: #1442ea;
    color: white;
    transform: translateY(-3px);
}

.sidebar-list {
    list-style: none;
    padding-left: 0;
}

.sidebar-list-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar-list-item:last-child {
    border-bottom: none;
}

.item-label {
    color: #6c757d;
}

.item-value {
    font-weight: 600;
    color: #343a40;
}

/* Related Scenarios */
.related-scenario {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.related-scenario:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.related-scenario-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.related-scenario-title a {
    color: #343a40;
    text-decoration: none;
    transition: all 0.3s;
}

.related-scenario-title a:hover {
    color: #1442ea;
}

/* Tips Section */
.tips-card {
    background: #fff8e1;
    border-left: 4px solid #ffc107;
    padding: 1.5rem;
    border-radius: 0 10px 10px 0;
    margin: 2rem 0;
}

.tips-title {
    color: #856404;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.tips-title i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.tips-list {
    list-style: none;
    padding-left: 0;
}

.tips-item {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.tips-item::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #ffc107;
    font-weight: 700;
}

/* Resources Section */
.resources-card {
    background: #e3f2fd;
    border-left: 4px solid #1442ea;
    padding: 1.5rem;
    border-radius: 0 10px 10px 0;
    margin: 2rem 0;
}

.resources-title {
    color: #0c31c9;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.resources-title i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.resources-list {
    list-style: none;
    padding-left: 0;
}

.resources-item {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.resources-item::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #1442ea;
    font-weight: 700;
}

/* Feedback Section */
.feedback-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.rating {
    font-size: 1.5rem;
    color: #ffc107;
}

.rating-count {
    color: #6c757d;
    margin-left: 0.5rem;
}

.progress-container {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.progress-label {
    width: 20px;
    font-weight: 600;
    color: #343a40;
    margin-right: 1rem;
}

.progress-bar-container {
    flex-grow: 1;
    background-color: #e9ecef;
    height: 5px;
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: #ffc107;
}

.progress-value {
    width: 40px;
    text-align: right;
    margin-left: 1rem;
    color: #6c757d;
}

/* Footer */
footer {
    background-color: #343a40;
    color: white;
    padding: 5rem 0 2rem;
    margin-top: 3rem;
}

.footer-title {
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: white;
    text-decoration: none;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    margin-right: 0.8rem;
    transition: all 0.3s;
}

.social-icon:hover {
    background: #1442ea;
    transform: translateY(-3px);
    color: white;
}

/* Responsive */
@media (max-width: 991px) {
    .sidebar {
        position: static;
        margin-top: 2rem;
    }

    .scenario-title {
        font-size: 2.3rem;
    }

    .scenario-header {
        padding: 6rem 0 4rem;
    }
}

@media (max-width: 767px) {
    .scenario-title {
        font-size: 2rem;
    }

    .scenario-header {
        padding: 5rem 0 3rem;
    }

    .content-section {
        padding: 3rem 0;
    }

    .character-img {
        height: 160px;
    }
}