/* Elastic UI - Movie Detail Page Custom Styles */

.euiMovieDetail {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.euiMoviePoster {
    background: #f5f7fa;
    border: 1px solid #d3dae6;
    border-radius: 6px;
    overflow: hidden;
}

.euiMoviePoster img {
    width: 100%;
    height: auto;
    display: block;
}

.euiMoviePoster .no-poster {
    padding: 4rem 1rem;
    text-align: center;
    color: #535975;
}

.euiMovieInfo {
    background: #fff;
    border: 1px solid #d3dae6;
    border-radius: 6px;
    padding: 1.5rem;
}

.euiMovieTitle {
    font-size: 1.375rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    color: #343741;
}

.euiMovieOriginalTitle {
    font-size: 1rem;
    color: #535975;
    margin: 0 0 1.25rem 0;
    font-style: italic;
}

.euiMovieMeta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.euiMovieRating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #fffbe6;
    border: 1px solid #fcebb5;
    border-radius: 6px;
    color: #b08500;
    font-weight: 600;
}

.euiMovieRating svg {
    width: 1rem;
    height: 1rem;
}

.euiMovieStats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.euiMovieStat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #535975;
    font-size: 0.875rem;
}

.euiMovieStat svg {
    width: 1rem;
    height: 1rem;
}

.euiMovieSection {
    margin-bottom: 1.5rem;
}

.euiMovieSectionTitle {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
    color: #343741;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.euiMovieSectionTitle svg {
    width: 1.25rem;
    height: 1.25rem;
}

.euiMovieTags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.euiMovieTag {
    padding: 0.25rem 0.75rem;
    background: #e6f0fa;
    color: #0077cc;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
}

.euiMovieDescription {
    line-height: 1.6;
    color: #343741;
    margin: 0;
}

.euiMovieActions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.euiDownloadList {
    background: #fff;
    border: 1px solid #d3dae6;
    border-radius: 6px;
    overflow: hidden;
    margin-top: 2rem;
}

.euiDownloadListHeader {
    background: #f5f7fa;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #d3dae6;
}

.euiDownloadListHeader h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.euiDownloadItem {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #d3dae6;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.euiDownloadItem:last-child {
    border-bottom: none;
}

.euiDownloadInfo {
    flex: 1;
}

.euiDownloadName {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.euiDownloadMeta {
    font-size: 0.875rem;
    color: #535975;
}

.euiDownloadSize {
    margin-left: 1rem;
}

.euiDownloadButton {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #0077cc;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}

.euiDownloadButton:hover {
    background: #005ba3;
}

.euiDownloadButton svg {
    width: 1rem;
    height: 1rem;
}

/* Comments Section */
.euiComments {
    margin-top: 2rem;
}

.euiCommentsHeader {
    background: #f5f7fa;
    padding: 1rem 1.5rem;
    border: 1px solid #d3dae6;
    border-radius: 6px 6px 0 0;
    border-bottom: none;
}

.euiCommentsHeader h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.euiCommentsList {
    border: 1px solid #d3dae6;
    border-radius: 0 0 6px 6px;
    border-top: none;
}

.euiComment {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #d3dae6;
}

.euiComment:last-child {
    border-bottom: none;
}

.euiCommentHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.euiCommentAuthor {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.euiCommentAvatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #0077cc;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.euiCommentName {
    font-weight: 600;
    color: #343741;
}

.euiCommentTime {
    font-size: 0.875rem;
    color: #535975;
}

.euiCommentText {
    color: #343741;
    line-height: 1.6;
    margin: 0;
}

.euiCommentForm {
    background: #f5f7fa;
    padding: 1.5rem;
    border: 1px solid #d3dae6;
    border-radius: 6px;
    margin-top: 1.5rem;
}

.euiCommentForm h4 {
    margin: 0 0 1rem 0;
    font-size: 0.875rem;
    font-weight: 600;
}

.euiCommentForm textarea {
    width: 100%;
    min-height: 100px;
    padding: 0.75rem;
    border: 1px solid #d3dae6;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.875rem;
    resize: vertical;
    margin-bottom: 1rem;
}

.euiCommentForm textarea:focus {
    outline: none;
    border-color: #0077cc;
}

.euiCommentForm input[type="text"] {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d3dae6;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.euiCommentForm input[type="text"]:focus {
    outline: none;
    border-color: #0077cc;
}

/* Related Movies */
.euiRelatedMovies {
    margin-top: 2rem;
}

.euiRelatedMoviesHeader {
    background: #f5f7fa;
    padding: 1rem 1.5rem;
    border: 1px solid #d3dae6;
    border-radius: 6px;
}

.euiRelatedMoviesHeader h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Breadcrumb */
.euiBreadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0;
    font-size: 0.875rem;
}

.euiBreadcrumb a {
    color: #0077cc;
    text-decoration: none;
}

.euiBreadcrumb a:hover {
    text-decoration: underline;
}

.euiBreadcrumb .separator {
    color: #535975;
}

.euiBreadcrumb .current {
    color: #535975;
}

/* Responsive */
@media (max-width: 768px) {
    .euiMovieDetail {
        grid-template-columns: 1fr;
    }

    .euiMovieTitle {
        font-size: 1.25rem;
    }

    .euiMovieStats {
        gap: 1rem;
    }

    .euiDownloadItem {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .euiDownloadSize {
        margin-left: 0;
    }

    .euiCommentHeader {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

.doc-card {
    
    color: #333;
}
.card-header {
    border-bottom: 2px solid #0ea5e9;
    padding-bottom: 15px;
    margin-bottom: 20px;
}
.card-title {
    font-size: 22px;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
}
.card-subtitle {
    font-size: 14px;
    color: #718096;
    margin: 8px 0 0;
}
.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #0ea5e9;
    margin: 15px 0 10px;
    display: flex;
    align-items: center;
}
.section-title::before {
    content: "●";
    color: #0ea5e9;
    margin-right: 8px;
    font-size: 12px;
}
.card-text, .card-list {
    font-size: 14px;
    line-height: 1.8;
    color: #4a5568;
}
.card-list {
    padding-left: 20px;
    margin: 0;
}
.card-list li {
    margin-bottom: 8px;
}

.basic-info {
    background: #f9fafb;
    padding: 12px 16px;
    border-radius: 8px;
    margin: 10px 0 20px;
    font-size: 13px;
    line-height: 1.7;
}
.basic-info span {
    display: inline-block;
    width: 80px;
    color: #64748b;
    font-weight: 500;
}