@charset "UTF-8";
@import url('https://cdn.jsdelivr.net/gh/fonts-archive/Paperlogy/Paperlogy.css');


*,
*::before,
*::after {
    box-sizing: border-box;
}


:root {
    color-scheme: light only;
}


body {
    margin: 0;
    font-family: 'PaperLogy', serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    color: #222222;
    background-color: #f8f8f8;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(67, 89, 113, 0);
}

ol,
ul {
    padding: 0;
    margin: 0;
}

b,
strong {
    font-weight: 700;
}

a {
    color: #222;
    text-decoration: none;
    cursor: pointer;
}

h1, h2, h3, h4, h5, h6, p, span {
    margin: 0;
}

th {
    font-weight: 500;
    text-align: inherit;
    text-align: -webkit-match-parent;
}

thead,
tbody,
tfoot,
tr,
td,
th {
    border-color: inherit;
    border-style: solid;
    border-width: 0;
}

label {
    display: inline-block;
}

button {
    color: #464a53;
    border: none;
    background-color: transparent;
    border-radius: 0;
    padding: 0;
}

button:focus:not(:focus-visible) {
    outline: 0;
}

input,
button,
select,
optgroup,
textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}


@media (min-width: 768px) {
    .mo-only {
        display: none !important;
    }

}

@media (max-width: 768px) {
    .pc-only {
        display: none !important;
    }
}

.d-flex {
    display: flex !important;
}

.overflow-hidden {
    overflow: hidden;
!important;
}


.main-content {
    margin: 20px auto 0;
    padding: 20px;
    max-width: 1200px;
}

.main-content.w-1000 {
    max-width: 1000px !important;
}

.main-content.w-1400 {
    max-width: 1400px !important;
}

.main-content.w-full {
    max-width: 100% !important;
}

.no-space {
    margin: 0 !important;
    padding: 0 !important;
}

.main-visual-container {
    position: relative;
    overflow: hidden;
}

.main-visual-container .visual-item {
    position: relative;
    display: block;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -webkit-tap-highlight-color: transparent;
    align-content: center;
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
    top: 0px;
    opacity: 1;
    width: 100%;
    height: 100%;
    transform: translateX(100px);
    transition: all 1s ease;
    z-index: 0;
}

.main-visual-container .visual-item.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 1;
}

.main-visual-container .visual-item .img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.main-visual-container .visual-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.main-visual-container .visual-item .txt-box {
    color: #fff;
    position: relative;
    letter-spacing: 0;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
}

.main-visual-container .visual-item .txt-box .tit {
    font-family: 'Montserrat';
    color: #fff;
    font-size: 45px;
    line-height: 1em;
    margin-bottom: 40px;
    font-weight: 800;
}

.main-visual-container .visual-item .txt-box .sub-tit {
    font-family: 'Montserrat';
    color: #fff;
    font-size: 35px;
    line-height: 1em;
    margin-bottom: 40px;
    font-weight: 800;
}


.main-visual-container .visual-item .txt-box .txt {
    line-height: 1.636em;
    font-size: 22px;
}

.main-visual-container {
    height: 750px;
}

.main-visual-container .visual-item {
    display: none;
    height: 750px;
}

.main-visual-container .visual-item.active {
    display: block;
}


@media screen and (min-width: 768px) {

    .main-visual-container {
        height: 750px;
    }

    .main-visual-container .visual-item {
        height: 750px;
    }


    .main-visual-container .visual-item .txt-box .tit {
        font-size: 120px;
    }


}

.sub-visual-container {
    letter-spacing: -.03em;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    height: 300px;
    text-align: center;
    position: relative;
    margin: 0 auto;
    justify-content: center;
}

.sub-visual-container .tit-box {
    text-align: center;
}

.sub-visual-container .tit-box .tit {
    font-size: 54px;
    font-family: 'Montserrat';
    font-weight: 700;
    color: #242424;
    margin-bottom: 22px;

}

.sub-visual-container .tit-box .txt {
    font-size: 22px;
    color: #686868;
}


.page-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-title {
    font-size: 40px;
    font-weight: bold;
    background: linear-gradient(to right, #ff4d8d, #ff6b8b, #ff8e79);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 17.6px;
    color: #666;
}


.actor-profile-card {
    position: relative;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.actor-profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.actor-profile-image-container {
    position: relative;
    height: 315px;
    overflow: hidden;
}

.actor-profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.actor-profile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: white;
}

.actor-profile-card:hover .actor-profile-overlay {
    opacity: 1;
}

.actor-profile-details {
    font-size: 14.4px;
    margin-bottom: 10px;
}

.actor-profile-link {
    padding: 8px 16px;
    border: 2px solid white;
    background: transparent;
    color: white;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s;
    align-self: flex-start;
}

.actor-profile-link:hover {
    background: white;
    color: #333;
}

.actor-profile-info {
    padding: 20px;
    text-align: center;
}

.actor-profile-name {
    font-size: 19.2px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.actor-profile-age {
    color: #666;
    font-size: 14.4px;
}


.actor-bookmark-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 5;
}


.casting-list-container .casting-bookmark-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.casting-list-container .casting-bookmark-btn:hover {
    background: linear-gradient(to right, #ff4d8d, #ff6b8b, #ff8e79);
    color: white;
}


.actor-bookmark-btn.bookmarked {
    background: linear-gradient(to right, #ff4d8d, #ff6b8b, #ff8e79);
    color: white;
}

.casting-bookmark-btn.bookmarked {
    background: linear-gradient(to right, #ff4d8d, #ff6b8b, #ff8e79);
    color: white;
}


.actor-list-container .search-filter-section {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.actor-list-container .search-container {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    align-items: center;
}

.actor-list-container .search-type-select {
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    font-family: "PaperLogy", sans-serif;
    font-size: 14px;
    min-width: 150px;
}

.actor-list-container .search-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    font-family: "PaperLogy", sans-serif;
    font-size: 14px;
}

.actor-list-container .search-input:focus {
    outline: none;
    border-color: #ff4d8d;
    box-shadow: 0 0 0 3px rgba(255, 77, 141, 0.1);
}

.actor-list-container .search-buttons {
    display: flex;
    gap: 10px;
}

.actor-list-container .search-btn,
.actor-list-container .reset-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-family: "PaperLogy", sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.actor-list-container .search-btn {
    background: linear-gradient(to right, #ff4d8d, #ff6b8b, #ff8e79);
    color: white;
}

.actor-list-container .search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 77, 141, 0.3);
}

.actor-list-container .reset-btn {
    background: #f5f5f5;
    color: #666;
}

.actor-list-container .reset-btn:hover {
    background: #e0e0e0;
}

.actor-list-container .filter-container {
    border-top: 1px solid #f0f0f0;
    padding-top: 30px;
}

.actor-list-container .filter-toggle {
    display: flex;
    align-items: center;
    justify-content: between;
    cursor: pointer;
    margin-bottom: 20px;
}

.actor-list-container .filter-title {
    font-size: 19.2px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.actor-list-container .filter-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}


.actor-list-container .filter-row {
    display: flex;
    gap: 30px;
}

.actor-list-container .filter-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.actor-list-container .filter-label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.actor-list-container .range-slider {
    margin: 15px 0;
}

.actor-list-container .range-values {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.actor-list-container .filter-select {
    padding: 10px 12px;
    border: 2px solid #f0f0f0;
    border-radius: 8px;
    font-family: "PaperLogy", sans-serif;
    font-size: 14px;
}

.actor-list-container .sort-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.actor-list-container .result-count {
    font-size: 17.6px;
    color: #333;
    font-weight: 600;
}

.actor-list-container .sort-select {
    padding: 12px 16px;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    font-family: "PaperLogy", sans-serif;
    font-size: 14px;
    min-width: 200px;
}

.actor-list-container .actor-profile-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}


.actor-list-container .pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 40px 0;
}

.actor-list-container .page-btn {
    padding: 12px 16px;
    border: 2px solid #f0f0f0;
    background: white;
    color: #666;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "PaperLogy", sans-serif;
    font-weight: 600;
    min-width: 48px;
}

.actor-list-container .page-btn:hover {
    border-color: #ff4d8d;
    color: #ff4d8d;
}

.actor-list-container .page-btn.active {
    background: linear-gradient(to right, #ff4d8d, #ff6b8b, #ff8e79);
    color: white;
    border-color: transparent;
}

.actor-list-container .no-results {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.actor-list-container .no-results i {
    font-size: 64px;
    margin-bottom: 20px;
    color: #ddd;
}

.actor-list-container .loading {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.actor-list-container .loading i {
    font-size: 32px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


.noUi-target {
    background: #f0f0f0 !important;
    border-radius: 10px !important;
    border: none !important;
    box-shadow: none !important;
}

.noUi-connect {
    background: linear-gradient(to right, #ff4d8d, #ff6b8b, #ff8e79) !important;
}

.noUi-handle {
    background: white !important;
    border: 3px solid #ff4d8d !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

.noUi-handle:before,
.noUi-handle:after {
    display: none;
}

/* 반응형 디자인 */
@media (max-width: 1200px) {
    .actor-list-container .actor-profile-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


.actor-list-container {
    max-width: 1400px;
    font-family: "Paperlogy", sans-serif;
    padding: 20px 0;
    margin: 40px auto 0;
}


@media (max-width: 768px) {
    .actor-list-container {
        margin-top: 100px;
    }

    .actor-list-container .actor-select-dropdown {
        width: 100%;
        max-width: 100%;
    }

    .actor-list-container .page-title {
        font-size: 32px;
    }

    .actor-list-container .search-container {
        flex-direction: column;
        align-items: stretch;
    }

    .actor-list-container .filter-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .actor-list-container .sort-container {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .actor-list-container .actor-profile-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .actor-list-container .filter-row {
        display: block;
    }

    .actor-list-container .search-buttons, .actor-list-container .search-buttons button {
        width: 100%;
    }


}

@media (max-width: 480px) {
    .actor-list-container .actor-profile-grid {
        grid-template-columns: 1fr;
    }
}


/* Search Section */
.casting-list-container .search-section {
    background: white;
    padding: 32px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 32px;
}

.casting-list-container .search-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.casting-list-container .search-input {
    width: 100%;
    padding: 16px 24px 16px 48px;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-size: 16px;
    transition: all 0.3s;
    background: #f9fafb;
}

.casting-list-container .search-input:focus {
    outline: none;
    border-color: #ff4d8d;
    background: white;
}

.casting-list-container .search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

/* Filter Section */
/* Filter Section */
.casting-list-container .filter-section {
    background: white;
    padding: 32px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 32px;
}

.casting-list-container .filter-row {
    margin-bottom: 24px;
}

.casting-list-container .filter-row:last-child {
    margin-bottom: 0;
}

.casting-list-container .filter-header {
    position: relative;
}

.casting-list-container .filter-controls {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    flex-wrap: wrap;
}

.casting-list-container .filter-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.casting-list-container .filter-label {
    font-weight: bold;
    color: #333;
    font-size: 16px;
    margin-bottom: 8px;
}

.casting-list-container .filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 100%;
}

.casting-list-container .filter-btn {
    padding: 8px 16px;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14.4px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.casting-list-container .filter-btn:hover {
    border-color: #ff4d8d;
    color: #ff4d8d;
}

.casting-list-container .filter-btn.active {
    background: linear-gradient(to right, #ff4d8d, #ff6b8b);
    color: white;
    border-color: #ff4d8d;
}

.casting-list-container .filter-count {
    font-size: 12.8px;
    opacity: 0.8;
}

.casting-list-container .toggle-wrapper {
    display: flex;
    align-items: center;
    position: absolute;
    right: 0;
    top: 0;
    gap: 12px;
}

.casting-list-container .toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    flex-shrink: 0;
}

.casting-list-container .toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.casting-list-container .toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e5e7eb;
    transition: 0.3s;
    border-radius: 24px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.casting-list-container .toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.casting-list-container .toggle-switch input:checked + .toggle-slider {
    background: linear-gradient(45deg, #ff4d8d, #ff6b8b);
}

.casting-list-container .toggle-switch input:focus + .toggle-slider {
    box-shadow: 0 0 0 3px rgba(255, 77, 141, 0.2);
}

.casting-list-container .toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

.casting-list-container .toggle-label {
    font-size: 15.2px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.casting-list-container .sort-select {
    padding: 8px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14.4px;
    min-width: 150px;
}

.casting-list-container .sort-select:focus {
    outline: none;
    border-color: #ff4d8d;
}

/* 커스텀 드롭다운 (모바일용) */
.casting-list-container .category-select-dropdown {
    display: none;
    position: relative;
    width: 100%;
}

.casting-list-container .dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    font-size: 14.4px;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
}

.casting-list-container .dropdown-header:hover {
    border-color: #ff4d8d;
}

.casting-list-container .dropdown-header.active {
    border-color: #ff4d8d;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.casting-list-container .dropdown-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.casting-list-container .dropdown-arrow {
    font-size: 11.2px;
    color: #666;
    transition: transform 0.3s ease;
    margin-left: 8px;
}

.casting-list-container .dropdown-header.active .dropdown-arrow {
    transform: rotate(180deg);
}

.casting-list-container .dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #ff4d8d;
    border-top: none;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.casting-list-container .dropdown-list.show {
    display: block;
}

.casting-list-container .dropdown-item {
    padding: 12px 16px;
    cursor: pointer;
    font-size: 14.4px;
    color: #333;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.2s ease;
}

.casting-list-container .dropdown-item:last-child {
    border-bottom: none;
}

.casting-list-container .dropdown-item:hover {
    background-color: #f8f9fa;
}

.casting-list-container .dropdown-item.active {
    background: linear-gradient(to right, #ff4d8d, #ff6b8b);
    color: white;
}

.casting-list-container .dropdown-item.active:hover {
    background: linear-gradient(to right, #e63d7a, #ff5c82);
}

/* 기존 CSS는 그대로 유지하고, 모바일 부분만 수정 */
@media (max-width: 768px) {
    .casting-list-container .filter-section {
        padding: 24px;
    }

    .casting-list-container .filter-header {
        flex-direction: column;
        gap: 24px;
    }

    .casting-list-container .filter-group {
        width: 100%;
    }

    /* PC용 필터 버튼들 숨기기 */
    .casting-list-container .filter-buttons {
        display: none;
    }

    /* 모바일용 드롭다운 보이기 */
    .casting-list-container .category-select-dropdown {
        display: block;
    }

    .casting-list-container .toggle-wrapper {
        align-self: flex-start;
        width: 100%;
        justify-content: flex-start;
        position: relative;
        margin-top: 25px;
    }

    .casting-list-container .toggle-label {
        font-size: 14.4px;
    }

    .casting-list-container .filter-controls {
        gap: 24px;
        width: 100%;
    }

    .casting-list-container .sort-select {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .casting-list-container .filter-section {
        padding: 16px;
    }

    .casting-list-container .dropdown-header {
        font-size: 13.6px;
        padding: 9.6px 16px;
    }

    .casting-list-container .dropdown-item {
        font-size: 13.6px;
        padding: 9.6px 16px;
    }

    .casting-list-container .sort-select {
        width: 100%;
        font-size: 13.6px;
        padding: 9.6px 16px;
    }

    .casting-list-container .toggle-label {
        font-size: 13.6px;
    }
}

/* Results Info */
.casting-list-container .results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding: 0 8px;
}

.casting-list-container .results-count {
    font-size: 17.6px;
    color: #666;
}

.casting-list-container .results-count .count-number {
    font-weight: bold;
    color: #ff4d8d;
}


.casting-grid {
    display: grid;
    gap: 32px;
    margin-bottom: 64px;
}


.casting-item-container {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
    width: 390px;
}

.casting-item-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 77, 141, 0.2);
}


.casting-item-container.verified::before {
    background: linear-gradient(90deg, #3b82f6, #2563eb, #1d4ed8, #3b82f6);
    animation: verified-gradient 3s ease-in-out infinite;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    z-index: 1;
}

.casting-item-container.verified::before {
    background-size: 200% 200%;
}

@keyframes verified-gradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.casting-thumbnail-wrapper {
    height: 235px;
    position: relative;
    overflow: hidden;
}

.casting-thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}


.casting-verified-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.casting-verified-badge i {
    font-size: 12px;
    color: white;
}

.casting-bookmark-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.casting-bookmark-btn.bookmarked {
    background: linear-gradient(to right, #ff4d8d, #ff6b8b, #ff8e79);
    color: white;
}


.casting-content-wrapper {
    padding: 24px;
    cursor: pointer;
}

.casting-header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}


.casting-title-text {
    font-size: 19.2px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.casting-payment-info {
    color: #666;
    font-size: 14.4px;
    margin-bottom: 16px;
}

.casting-footer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #999;
}

.casting-deadline-text {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.deadline-urgent {
    color: #ef4444;
}

.deadline-normal .left-days {
    background: #10b981;
    color: white;
    padding: 1px 6px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
}


@media (min-width: 1080px) {
    .casting-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .casting-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {

    .casting-footer-info {
        display: block;
    }

    .casting-footer-info .casting-deadline-text {
        margin-bottom: 10px;
    }
}


/* Pagination */
.casting-list-container .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
}

.casting-list-container .pagination button {
    padding: 8px 16px;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.casting-list-container .pagination button:hover {
    border-color: #ff4d8d;
    color: #ff4d8d;
}

.casting-list-container .pagination button.active {
    background: #ff4d8d;
    color: white;
    border-color: #ff4d8d;
}

.casting-list-container .pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Empty State */
.casting-list-container .empty-state {
    text-align: center;
    padding: 64px 32px;
    color: #666;
}

.casting-list-container .empty-state i {
    font-size: 64px;
    color: #ddd;
    margin-bottom: 16px;
}

.casting-list-container .empty-state h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 1200px) {
    .casting-list-container .casting-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .casting-list-container {
        padding: 20px 15px;
    }

    .casting-list-container .casting-grid {
        grid-template-columns: 1fr;
    }

    .casting-list-container .filter-controls {
        flex-direction: column;
        gap: 24px;
    }

    .casting-list-container .filter-buttons {
        justify-content: center;
    }

    .casting-list-container .results-info {
        flex-direction: row;
        gap: 16px;
        text-align: left;
    }
}

.casting-category-badge {
    background: linear-gradient(to right, #ff4d8d, #ff6b8b, #ff8e79);
    color: white;
    padding: 4.8px 12.8px;
    border-radius: 20px;
    font-size: 14.4px;
    font-weight: 600;
}

.casting-status-badge {
    padding: 4.8px 12.8px;
    border-radius: 15px;
    font-size: 12.8px;
    font-weight: 600;
}

.status-active {
    background: linear-gradient(to right, #10b981, #34d399);
    color: white;
}

.status-inactive {
    background: linear-gradient(to right, #6b7280, #9ca3af);
    color: white;
}


.find-button {
    color: #fff;
    background: linear-gradient(to right, #ff4d8d, #ff6b8b, #ff8e79);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    margin: 20px 0;
    transition: all 0.2s ease;
}


.find-button:hover {
    transform: translateY(-5px);
}

.d-none {
    display: none !important;
}

.cursor-blocked {
    cursor: not-allowed !important;
}


/* 채팅 제안 모달 스타일 */
.chat-request-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.chat-request-modal.show {
    opacity: 1;
    visibility: visible;
}

.chat-request-modal-content {
    background: white;
    border-radius: 16px;
    padding: 32px;
    max-width: 480px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.chat-request-modal.show .chat-request-modal-content {
    transform: translateY(0);
}

.chat-request-modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.chat-request-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    line-height: 1.4;
}

.chat-request-modal-body {
    margin-bottom: 32px;
}

.chat-request-modal-description {
    text-align: center;
    color: #6b7280;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    margin: 0 0 24px 0;
}

.chat-request-form-group {
    margin-bottom: 20px;
}

.chat-request-form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.chat-request-form-textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    background: #fafafa;
    resize: vertical;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.chat-request-form-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.chat-request-form-textarea::placeholder {
    color: #9ca3af;
}

.chat-request-modal-actions {
    display: flex;
    gap: 12px;
}

.chat-request-modal-button {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.chat-request-cancel-button {
    background: #f3f4f6;
    color: #6b7280;
}

.chat-request-cancel-button:hover {
    background: #e5e7eb;
    color: #4b5563;
    transform: translateY(-1px);
}

.chat-request-submit-button {
    background: #3b82f6;
    color: white;
}

.chat-request-submit-button:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.chat-request-submit-button:active {
    transform: translateY(0);
}

/* 반응형 */
@media (max-width: 640px) {
    .chat-request-modal-content {
        padding: 24px;
        margin: 16px;
        width: calc(100% - 32px);
    }

    .chat-request-modal-actions {
        flex-direction: column;
    }

    .chat-request-modal-title {
        font-size: 18px;
    }
}

.chat-complete-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.chat-complete-modal.show {
    opacity: 1;
    visibility: visible;
}

.chat-complete-modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px 32px 32px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    transform: scale(0.9) translateY(-20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.chat-complete-modal.show .chat-complete-modal-content {
    transform: scale(1) translateY(0);
}

.chat-complete-modal-header {
    margin-bottom: 24px;
}

.chat-complete-success-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: successPulse 0.6s ease-out;
}

.chat-complete-success-icon i {
    font-size: 28px;
    color: white;
}

@keyframes successPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.chat-complete-modal-title {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.3;
}

.chat-complete-modal-body {
    margin-bottom: 32px;
}

.chat-complete-modal-description {
    color: #6b7280;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
}

.chat-complete-modal-actions {
    display: flex;
    justify-content: center;
}

.chat-complete-modal-button {
    padding: 14px 32px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.chat-complete-close-button {
    background: #f8fafc;
    color: #475569;
    border: 1.5px solid #e2e8f0;
}

.chat-complete-close-button:hover {
    background: #f1f5f9;
    color: #334155;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.chat-complete-close-button:active {
    transform: translateY(0);
}

/* 반응형 */
@media (max-width: 640px) {
    .chat-complete-modal-content {
        padding: 32px 24px 24px;
        margin: 16px;
        width: calc(100% - 32px);
    }

    .chat-complete-success-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 16px;
    }

    .chat-complete-success-icon i {
        font-size: 24px;
    }

    .chat-complete-modal-title {
        font-size: 20px;
    }
}