o2o-castad-frontend/src/styles/studio-assets.css
김성경 4fe065378f Merge branch 'main' into feature-ssulbox
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 15:15:53 +09:00

1507 lines
26 KiB
CSS

/* =====================================================
Sound Studio Styles
===================================================== */
/* Sound Studio Page */
.sound-studio-page {
height: 100%;
background-color: var(--color-bg-darker);
overflow-y: auto;
overflow-x: hidden;
padding: 30px 1rem 120px;
}
@media (min-width: 768px) {
.sound-studio-page {
padding: 30px 2rem 120px;
left: 240px;
}
}
/* Sound Studio Header */
.sound-studio-header {
position: fixed;
top: 0;
left: 0;
right: 0;
height: 64px;
display: flex;
align-items: center;
padding: 0 1rem;
z-index: 30;
pointer-events: none;
}
.sound-studio-header > * {
pointer-events: all;
}
@media (min-width: 768px) {
.sound-studio-header {
left: 240px;
padding: 0 2rem;
}
}
.btn-back-new {
display: flex;
align-items: center;
gap: 0.25rem;
padding: 0.5rem 1.25rem 0.5rem 0.5rem;
background-color: #462E64;
border: 1px solid #694596;
border-radius: var(--radius-full);
color: #CFABFB;
font-size: var(--text-sm);
font-weight: 600;
cursor: pointer;
transition: all var(--transition-normal);
width: fit-content;
flex-shrink: 0;
}
.btn-back-new:hover {
background-color: #694596;
border-color: #8B5BC7;
}
/* Progress Indicator */
.progress-indicator {
display: flex;
flex-direction: column;
gap: 0.25rem;
width: 280px;
}
.progress-label {
display: flex;
align-items: center;
gap: 1rem;
}
.progress-text {
font-size: 14px;
font-weight: 600;
color: var(--color-text-white);
}
.progress-numbers {
display: flex;
align-items: center;
gap: 0.25rem;
}
.progress-current {
font-size: 14px;
font-weight: 600;
color: var(--color-text-white);
}
.progress-divider,
.progress-total {
font-size: 14px;
font-weight: 400;
color: #379599;
}
.progress-bar-wrapper {
position: relative;
width: 100%;
height: 8px;
background-color: #01393B;
border-radius: var(--radius-full);
overflow: hidden;
}
.progress-bar-track {
width: 100%;
height: 100%;
background: linear-gradient(90deg, #94FBE0 0%, #AE72F9 100%);
border-radius: var(--radius-full);
}
/* Sound Studio Title */
.sound-studio-title {
font-size: 32px;
font-weight: 700;
color: #ffffff;
text-align: center;
width: 100%;
margin: 0 auto 1rem;
padding: 0;
line-height: 1.19;
letter-spacing: -0.006em;
}
/* Sound Studio Container */
.sound-studio-container {
height: 96%;
min-height: 620px;
background-color: #01393B;
border-radius: 24px;
padding: 1.25rem 1rem;
margin: 0 auto;
max-width: 1440px;
width: 100%;
display: flex;
flex-direction: column;
gap: 1.25rem;
}
@media (min-width: 768px) {
.sound-studio-container {
border-radius: 40px;
padding: 2rem;
}
}
/* Sound Studio Columns */
.sound-studio-columns {
display: flex;
flex-direction: column;
gap: 1.5rem;
flex: 1;
min-height: 0;
overflow-y: auto;
overflow-x: hidden;
}
/* Sound Column */
.sound-column {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
gap: 1.25rem;
flex-shrink: 0;
font-size: 14px;
}
.sound-column > *:not(.btn-generate-sound):not(.error-message-new):not(.status-message-new) {
width: 100%;
}
/* Lyrics Column */
.lyrics-column {
width: 100%;
display: flex;
flex-direction: column;
gap: 1.25rem;
flex-shrink: 0;
}
/* Column Title */
.column-title {
font-size: 18px;
font-weight: 600;
color: var(--color-mint);
line-height: 1.19;
letter-spacing: -0.006em;
}
/* Sound Studio Section */
.sound-studio-section {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
/* Input Label */
.input-label {
font-size: var(--text-sm);
font-weight: 600;
color: #CEE5E6;
line-height: 1.19;
letter-spacing: -0.006em;
}
/* Sound Type Grid */
.sound-type-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 0.75rem;
}
/* Sound Type Button */
.sound-type-btn {
padding: 1rem;
background-color: #002224;
border: 1px solid rgba(255, 255, 255, 0.05);
border-radius: 8px;
color: var(--color-text-white);
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: all var(--transition-normal);
text-align: center;
line-height: 1.19;
letter-spacing: -0.006em;
}
.sound-type-btn:hover:not(:disabled) {
background-color: rgba(0, 34, 36, 0.8);
border-color: rgba(255, 255, 255, 0.1);
}
.sound-type-btn.active {
border-color: var(--color-mint);
}
.sound-type-btn.active:hover:not(:disabled) {
border-color: var(--color-mint);
}
.sound-type-btn:disabled {
opacity: 0.5;
cursor: not-allowed;
}
/* Genre Grid */
.genre-grid {
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.genre-row {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 0.75rem;
}
/* Genre Button */
.genre-btn {
padding: 1rem;
background-color: #002224;
border: 1px solid rgba(255, 255, 255, 0.05);
border-radius: 8px;
color: var(--color-text-white);
font-size: var(--text-sm);
font-weight: 600;
cursor: pointer;
transition: all var(--transition-normal);
text-align: center;
line-height: 1.19;
letter-spacing: -0.006em;
}
.genre-btn:hover:not(:disabled) {
background-color: rgba(0, 34, 36, 0.8);
border-color: rgba(255, 255, 255, 0.1);
}
.genre-btn.active:hover:not(:disabled) {
border-color: var(--color-mint);
}
.genre-btn.active {
border-color: var(--color-mint);
}
.genre-btn:disabled {
opacity: 0.5;
cursor: not-allowed;
}
/* Language Selector */
.language-selector-wrapper {
position: relative;
}
.language-selector {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.5rem 1rem;
background-color: #002224;
border: 1px solid transparent;
border-radius: 8px;
cursor: pointer;
transition: border-color 0.2s, background-color 0.2s;
}
.language-selector:hover:not(:disabled) {
background-color: #003A3C;
}
.language-selector:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.language-display {
display: flex;
align-items: center;
gap: 0.5rem;
}
.language-flag {
font-size: 20px;
line-height: 1.19;
letter-spacing: -0.006em;
}
.language-name {
font-size: var(--text-sm);
font-weight: 600;
color: var(--color-text-white);
line-height: 1.19;
letter-spacing: -0.006em;
}
.language-dropdown-icon {
width: 1rem;
height: 1rem;
opacity: 0.7;
transition: transform 0.2s;
}
.language-dropdown-icon.open {
transform: rotate(180deg);
}
/* Language Dropdown Menu */
.language-dropdown-menu {
position: absolute;
top: calc(100% + 0.5rem);
left: 0;
right: 0;
max-height: 220px;
background-color: #002224;
border: 1px solid #046266;
border-radius: 8px;
overflow-y: auto;
z-index: 100;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
overscroll-behavior: contain;
}
.language-dropdown-menu::-webkit-scrollbar {
width: 6px;
}
.language-dropdown-menu::-webkit-scrollbar-track {
background: transparent;
}
.language-dropdown-menu::-webkit-scrollbar-thumb {
background: #046266;
border-radius: 3px;
}
.language-dropdown-menu::-webkit-scrollbar-thumb:hover {
background: #379599;
}
.language-dropdown-item {
width: 100%;
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.75rem 1rem;
background-color: #002224;
border: none;
cursor: pointer;
transition: background-color 0.2s;
}
.language-dropdown-item:hover {
background-color: #003A3C;
}
.language-dropdown-item.active {
background-color: #046266;
}
.language-dropdown-item .language-flag {
font-size: 20px;
}
.language-dropdown-item .language-name {
font-size: var(--text-sm);
font-weight: 600;
color: var(--color-text-white);
}
/* Lyrics Header */
.lyrics-header {
display: flex;
flex-direction: column;
gap: 0.25rem;
}
.lyrics-subtitle {
font-size: var(--text-sm);
font-weight: 600;
color: #CEE5E6;
line-height: 1.19;
letter-spacing: -0.006em;
}
/* Audio Player */
.audio-player {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 1rem;
background-color: #002224;
border-radius: 8px;
}
.play-btn-new {
width: 1.5rem;
height: 1.5rem;
display: flex;
align-items: center;
justify-content: center;
background: none;
border: none;
color: var(--color-text-white);
cursor: pointer;
transition: all var(--transition-normal);
flex-shrink: 0;
}
.play-btn-new:hover:not(.disabled) {
color: var(--color-mint);
}
.play-btn-new.disabled {
opacity: 0.3;
cursor: not-allowed;
}
.audio-progress-container {
flex: 1;
height: 4px;
background-color: #046266;
border-radius: var(--radius-full);
position: relative;
cursor: pointer;
}
.audio-progress-container.disabled {
cursor: not-allowed;
}
.audio-progress-fill {
height: 100%;
background-color: var(--color-mint);
border-radius: var(--radius-full);
transition: width 0.1s ease-out;
}
.audio-time {
font-size: var(--text-sm);
font-weight: 400;
color: #046266;
min-width: 40px;
text-align: right;
line-height: 1.19;
letter-spacing: -0.006em;
}
/* Lyrics Display */
.lyrics-display {
flex: 1;
display: flex;
background-color: #002224;
border-radius: 8px;
padding: 1rem;
overflow: hidden;
}
.lyrics-textarea {
width: 100%;
min-height: 200px;
background: transparent;
border: none;
color: var(--color-text-white);
font-size: 16px;
font-family: inherit;
resize: none;
outline: none;
line-height: 1.6;
scrollbar-width: thin;
scrollbar-color: #046266 transparent;
}
.lyrics-textarea::-webkit-scrollbar {
width: 6px;
}
.lyrics-textarea::-webkit-scrollbar-track {
background: transparent;
}
.lyrics-textarea::-webkit-scrollbar-thumb {
background: #046266;
border-radius: 3px;
}
.lyrics-textarea::-webkit-scrollbar-thumb:hover {
background: #379599;
}
.lyrics-paragraphs {
width: 100%;
overflow-y: auto;
padding: 0 1rem;
display: flex;
flex-direction: column;
gap: 0.5rem;
scrollbar-color: #046266 transparent;
}
.lyrics-paragraphs::-webkit-scrollbar {
width: 6px;
}
.lyrics-paragraphs::-webkit-scrollbar-track {
background: transparent;
}
.lyrics-paragraphs::-webkit-scrollbar-thumb {
background: #046266;
border-radius: 3px;
}
.lyrics-section {
display: flex;
flex-direction: column;
gap: 0.4rem;
}
.lyrics-tag {
font-size: 14px;
font-weight: 700;
color: #379599;
letter-spacing: 0.05em;
}
.lyrics-paragraph {
font-size: 14px;
font-weight: 400;
color: #CEE5E6;
line-height: 1.9;
white-space: pre-line;
margin: 0;
}
.lyrics-placeholder {
width: 100%;
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
font-weight: 400;
color: #6AB0B3;
text-align: center;
line-height: 1.19;
letter-spacing: -0.006em;
}
/* Generate Sound Button */
.btn-generate-sound {
height: 40px;
min-width: 120px;
padding: 0.625rem 1.25rem;
background-color: #94FBE0;
border: none;
border-radius: var(--radius-full);
color: #000000;
font-size: var(--text-sm);
font-weight: 600;
cursor: pointer;
transition: all var(--transition-normal);
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
line-height: 1.19;
letter-spacing: -0.006em;
margin-top: 10px;
}
.btn-generate-sound:hover:not(.disabled) {
background-color: #6ef5ca;
}
.btn-generate-sound.disabled {
opacity: 0.5;
cursor: not-allowed;
}
.regenerate-hint {
font-size: 14px;
color: #CEE5E6;
text-align: center;
}
.charge-credits-link {
display: block;
margin-top: 6px;
font-size: 14px;
color: #AE72F9;
text-decoration: underline;
cursor: pointer;
}
/* Video Generate Button */
.btn-video-generate {
padding: 0.625rem 2.5rem;
background-color: #AE72F9;
border: none;
border-radius: var(--radius-full);
color: #FFFFFF;
height: 40px;
font-size: var(--text-sm);
font-weight: 600;
cursor: pointer;
transition: all var(--transition-normal);
line-height: 1.19;
letter-spacing: -0.006em;
display: flex;
flex-direction: column;
align-items: center;
gap: 1rem;
min-width: fit-content;
}
.btn-video-generate:hover:not(.disabled):not(.generating) {
background-color: #9B5DE5;
}
.btn-video-generate.disabled {
background-color: #462E64;
color: #8B5BC7;
opacity: 0.7;
cursor: not-allowed;
}
.btn-video-generate.generating {
background-color: #AE72F9;
color: #FFFFFF;
padding: 0.625rem 1.5rem;
cursor: default;
}
.video-gen-text {
font-size: var(--text-sm);
font-weight: 600;
color: #FFFFFF;
line-height: 1.19;
letter-spacing: -0.006em;
}
.video-gen-progress-bar {
width: 280px;
height: 8px;
background-color: #694596;
border-radius: var(--radius-full);
overflow: hidden;
position: relative;
}
.video-gen-progress-fill {
height: 100%;
background-color: #FFFFFF;
border-radius: var(--radius-full);
transition: width 0.5s ease-out;
}
/* Error and Status Messages */
.error-message-new {
padding: 0.75rem 1rem;
background-color: rgba(239, 68, 68, 0.1);
border: 1px solid rgba(239, 68, 68, 0.3);
border-radius: var(--radius-lg);
color: #fca5a5;
font-size: var(--text-sm);
text-align: center;
}
.status-message-new {
padding: 0.75rem 1rem;
background-color: rgba(148, 251, 224, 0.1);
border: 1px solid rgba(148, 251, 224, 0.3);
border-radius: var(--radius-lg);
color: var(--color-mint);
font-size: var(--text-sm);
text-align: center;
white-space: pre-line;
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
margin-top: 10px;
}
/* Responsive Styles for Sound Studio */
@media (min-width: 768px) {
.progress-indicator {
width: 100%;
}
.sound-type-grid {
gap: 0.5rem;
}
.sound-type-btn {
padding: 0.75rem 0.5rem;
font-size: 14px;
}
.genre-row {
gap: 0.5rem;
}
.genre-btn {
padding: 0.75rem 0.5rem;
font-size: 14px;
}
}
@media (min-width: 640px) and (max-width: 767px) {
.sound-studio-columns {
gap: 2rem;
}
}
@media (min-width: 768px) and (max-width: 1023px) {
.sound-studio-columns {
gap: 2rem;
}
}
@media (min-width: 1024px) {
.sound-studio-columns {
flex-direction: row;
gap: 3rem;
}
.sound-column {
flex: 1;
width: auto;
min-height: 0;
font-size: 14px;
}
.lyrics-column {
flex: 1;
width: auto;
min-height: 0;
}
.column-title {
font-size: 20px;
}
.lyrics-display {
min-height: 250px;
}
}
/* ====================================
Asset Management (Brand Asset) Styles
==================================== */
/* Asset Page Layout */
.asset-page {
height: 100%;
background-color: var(--color-darker);
position: relative;
}
/* Upload Loading Overlay */
.asset-upload-overlay {
position: fixed;
inset: 0;
z-index: 1000;
background: rgba(0, 25, 26, 0.85);
display: flex;
align-items: center;
justify-content: center;
}
.asset-upload-overlay-content {
display: flex;
flex-direction: column;
align-items: center;
gap: 0;
}
/* Upload Error Dialog */
.asset-upload-error-overlay {
position: fixed;
inset: 0;
z-index: 1100;
display: flex;
align-items: center;
justify-content: center;
padding: 1rem;
background: rgba(0, 17, 18, 0.82);
backdrop-filter: blur(4px);
}
.asset-upload-error-dialog {
width: min(100%, 420px);
padding: 1.5rem;
background: #01393B;
border: 1px solid #379599;
border-radius: 20px;
box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}
.asset-upload-error-title {
margin: 0;
color: #94FBE0;
font-size: 20px;
font-weight: 700;
line-height: 1.3;
}
.asset-upload-error-message {
margin: 0.75rem 0 1.5rem;
color: #E5F1F2;
font-size: 16px;
line-height: 1.6;
overflow-wrap: anywhere;
white-space: pre-wrap;
}
.asset-upload-error-confirm {
width: 100%;
min-height: 44px;
padding: 0.75rem 1rem;
color: #002224;
background: #94FBE0;
border: 0;
border-radius: 999px;
font-size: 16px;
font-weight: 700;
cursor: pointer;
transition: background-color 0.2s, transform 0.2s;
}
.asset-upload-error-confirm:hover {
background: #B8FFE9;
}
.asset-upload-error-confirm:active {
transform: translateY(1px);
}
.asset-upload-error-confirm:focus-visible {
outline: 3px solid #CFABFB;
outline-offset: 3px;
}
/* Fixed Header - 뒤로가기 */
.asset-sticky-header {
position: fixed;
top: 0;
left: 0;
right: 0;
height: 64px;
display: flex;
align-items: center;
padding: 0 1rem;
z-index: 30;
pointer-events: none;
}
.asset-sticky-header > * {
pointer-events: all;
}
@media (min-width: 768px) {
.asset-sticky-header {
left: 240px;
padding: 0 2rem;
}
}
/* 뒤로가기 버튼 */
.asset-back-btn {
display: flex;
align-items: center;
gap: 4px;
background-color: #462E64;
color: #CFABFB;
font-size: 14px;
font-weight: 600;
padding: 0 1.25rem 0 0.5rem;
height: 36px;
border: 1px solid #694596;
border-radius: 999px;
cursor: pointer;
white-space: nowrap;
transition: background-color 0.2s;
line-height: 1.19;
letter-spacing: -0.006em;
}
.asset-back-btn:hover {
background-color: #5a3a80;
}
/* Single Scroll Area */
.asset-scroll-area {
height: 100%;
overflow-y: auto;
overflow-x: hidden;
padding: 2rem 2rem 120px;
}
.asset-scroll-area::-webkit-scrollbar {
width: 6px;
}
.asset-scroll-area::-webkit-scrollbar-track {
background: transparent;
}
.asset-scroll-area::-webkit-scrollbar-thumb {
background: #379599;
border-radius: 3px;
}
.asset-scroll-area::-webkit-scrollbar-thumb:hover {
background: #4AABAF;
}
/* Fixed Footer - 다음 단계 */
.asset-sticky-footer {
position: fixed;
bottom: 32px;
left: 0;
right: 0;
display: flex;
flex-direction: column;
align-items: center;
gap: 0.5rem;
z-index: 30;
pointer-events: none;
}
.asset-sticky-footer > * {
pointer-events: all;
}
@media (min-width: 768px) {
body:has(.sidebar.expanded) .asset-sticky-footer {
left: 15rem;
right: 0;
width: auto;
display: flex;
justify-content: center;
}
}
/* 모바일: 하단 탭바에 가리지 않도록 띄운다 */
@media (max-width: 767px) {
.asset-sticky-footer {
bottom: calc(var(--bottom-nav-height) + 16px);
}
}
/* Asset Title */
.asset-title {
font-size: 32px;
font-weight: 700;
color: #E5F1F2;
padding: 0 0 1.5rem;
text-align: center;
line-height: 1.19;
letter-spacing: -0.006em;
margin: 0;
}
/* Asset Container */
.asset-container {
margin: 0 auto;
max-width: 1136px;
width: 100%;
display: flex;
flex-direction: column;
gap: 1rem;
}
@media (min-width: 1024px) {
.asset-container {
flex-direction: row;
}
}
/* Asset Columns */
.asset-column {
display: flex;
flex-direction: column;
gap: 1rem;
}
.asset-column-left {
width: 100%;
min-width: 0;
flex-shrink: 0;
background-color: #01393B;
border-radius: 24px;
padding: 1.25rem 1rem;
}
.asset-column-right {
width: 100%;
flex-shrink: 0;
gap: 1rem;
display: flex;
flex-direction: column;
}
@media (min-width: 1024px) {
.asset-column-left {
flex: 1;
min-height: 0;
overflow: hidden;
border-radius: 40px;
padding: 2rem;
}
.asset-column-right {
width: 280px;
}
}
/* Asset Section Header */
.asset-section-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.5rem;
flex-shrink: 0;
}
.asset-section-header-left {
display: flex;
align-items: center;
gap: 0.5rem;
}
.asset-section-subtitle {
font-size: 14px;
font-weight: 400;
color: #6AB0B3;
line-height: 1.19;
letter-spacing: -0.006em;
}
.asset-section-count {
font-size: 14px;
font-weight: 600;
color: #9BCACC;
line-height: 1.19;
letter-spacing: -0.006em;
font-variant-numeric: tabular-nums;
}
/* 업로드 상한(100장)을 넘긴 상태. 추가 자체는 막지 않고 시각적으로만 경고한다. */
.asset-section-count-over {
color: #fca5a5;
}
/* Asset Section Title */
.asset-section-title {
font-size: 24px;
font-weight: 600;
color: #94FBE0;
line-height: 1.19;
letter-spacing: -0.009em;
margin: 0;
}
/* Mobile Upload Button (visible only on mobile/tablet) */
.asset-mobile-upload-btn {
display: flex;
align-items: center;
gap: 4px;
background-color: #94FBE0;
color: #000;
font-size: 12px;
font-weight: 600;
padding: 0 10px;
height: 24px;
border: none;
border-radius: 999px;
cursor: pointer;
white-space: nowrap;
flex-shrink: 0;
}
@media (min-width: 1024px) {
.asset-mobile-upload-btn {
display: none;
}
}
/* 모바일: 제목은 한 줄로 유지하고, 권장 수량/카운트는 그 아래 줄로 내린다 */
@media (max-width: 1023px) {
.asset-section-header {
align-items: flex-start;
}
.asset-section-header-left {
flex: 1;
min-width: 0;
flex-wrap: wrap;
row-gap: 4px;
}
.asset-section-header-left .asset-section-title {
order: 1;
white-space: nowrap;
}
.asset-section-header-left .asset-section-count {
order: 2;
white-space: nowrap;
}
.asset-section-header-left .asset-section-subtitle {
order: 3;
width: 100%;
white-space: nowrap;
}
}
/* Asset Image List */
.asset-image-list {
background-color: #002224;
border-radius: 8px;
padding: 0.5rem;
max-height: 1080px;
overflow-y: auto;
}
.asset-image-list::-webkit-scrollbar {
width: 6px;
}
.asset-image-list::-webkit-scrollbar-track {
background: transparent;
}
.asset-image-list::-webkit-scrollbar-thumb {
background: #067C80;
border-radius: 3px;
}
.asset-image-list::-webkit-scrollbar-thumb:hover {
background: #088a8e;
}
/* Load More Button */
.asset-load-more {
width: 100%;
padding: 0.625rem 1rem;
background-color: #002224;
color: #9BCACC;
font-size: 14px;
font-weight: 600;
border: 1px solid #379599;
border-radius: 8px;
cursor: pointer;
transition: background-color 0.2s, border-color 0.2s;
line-height: 1.19;
letter-spacing: -0.006em;
}
.asset-load-more:hover {
background-color: #003A3C;
border-color: #4AABAF;
}
/* Asset Image Grid */
.asset-image-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 0.5rem;
}
.asset-image-item {
position: relative;
aspect-ratio: 1;
border-radius: 8px;
overflow: hidden;
background-color: #000;
}
.asset-image-item img {
width: 100%;
height: 100%;
object-fit: cover;
}
.asset-image-placeholder {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 6px;
padding: 8px;
background-color: #001416;
color: #379599;
text-align: center;
}
.asset-image-placeholder-name {
width: 100%;
font-size: 12px;
line-height: 1.2;
color: #9BCACC;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.asset-image-badge {
position: absolute;
top: 8px;
left: 8px;
background-color: #EFE3FE;
color: #AE72F9;
font-size: 12px;
font-weight: 600;
padding: 4px 8px;
border-radius: 4px;
line-height: 1.19;
letter-spacing: -0.006em;
}
.asset-image-remove {
position: absolute;
top: 8px;
right: 8px;
width: 30px;
height: 30px;
background-color: rgba(0, 0, 0, 0.6);
border: none;
border-radius: 999px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
color: #FFFFFF;
transition: background-color 0.2s;
}
.asset-image-remove:hover {
background-color: rgba(0, 0, 0, 0.8);
}
/* Asset Upload Section */
.asset-upload-section {
display: none;
flex-direction: column;
gap: 1rem;
flex: 1;
background-color: #01393B;
border-radius: 40px;
padding: 2rem;
}
@media (min-width: 1024px) {
.asset-upload-section {
display: flex;
}
}
.asset-upload-zone {
flex: 1;
border: 1px dashed #379599;
border-radius: 8px;
background-color: #002224;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: border-color 0.2s, background-color 0.2s;
min-height: 150px;
}
.asset-upload-zone:hover {
border-color: #4AABAF;
background-color: #003A3C;
}
.asset-upload-text {
font-size: 14px;
font-weight: 600;
color: #9BCACC;
text-align: center;
line-height: 1.19;
letter-spacing: -0.006em;
margin: 0;
}
/* Asset Ratio Section */
.asset-ratio-section {
display: flex;
flex-direction: column;
gap: 1rem;
background-color: #01393B;
border-radius: 24px;
padding: 1.25rem 1rem;
}
@media (min-width: 1024px) {
.asset-ratio-section {
border-radius: 40px;
padding: 2rem;
}
}
.asset-ratio-buttons {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.asset-ratio-button {
display: flex;
align-items: center;
gap: 1rem;
padding: 0 1rem;
height: 48px;
background-color: #002224;
border: 1px solid transparent;
border-radius: 8px;
cursor: pointer;
transition: border-color 0.2s, background-color 0.2s;
color: #FFFFFF;
font-size: 14px;
font-weight: 600;
line-height: 1.19;
letter-spacing: -0.006em;
width: 100%;
}
.asset-ratio-button:hover {
background-color: #003A3C;
}
.asset-ratio-button.active {
border-color: #94FBE0;
background-color: #002224;
}
.asset-ratio-label {
font-weight: 600;
color: #E5F1F2;
}
.asset-ratio-subtitle {
font-size: 14px;
font-weight: 400;
color: #9BCACC;
}
.asset-ratio-icon {
width: 32px;
height: 32px;
background-color: #002224;
border-radius: 2px;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.asset-ratio-icon-vertical .asset-ratio-box {
width: 18px;
height: 32px;
background-color: #046266;
border-radius: 4px;
}
.asset-ratio-icon-horizontal .asset-ratio-box {
width: 32px;
height: 18px;
background-color: #046266;
border-radius: 4px;
}
/* Asset Next Button */
.asset-next-button {
background-color: #AE72F9;
color: #FFFFFF;
font-size: 14px;
font-weight: 600;
padding: 10px 40px;
border: none;
border-radius: 999px;
cursor: pointer;
transition: background-color 0.2s;
line-height: 1.19;
letter-spacing: -0.006em;
}
.asset-next-button:hover:not(:disabled) {
background-color: #9D5FE8;
}
.asset-next-button:disabled {
opacity: 0.5;
cursor: not-allowed;
}
/* Responsive Styles */
@media (max-width: 639px) {
.asset-title {
font-size: 24px;
padding-bottom: 1rem;
}
.asset-scroll-area {
padding: 1rem 1rem 120px;
}
.asset-image-grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (min-width: 640px) and (max-width: 767px) {
.asset-title {
font-size: 28px;
padding-bottom: 1.25rem;
}
.asset-scroll-area {
padding: 1.5rem 1.5rem 120px;
}
}
/* Height-based responsive adjustments */
@media (max-height: 700px) {
.asset-title {
font-size: 28px;
padding-bottom: 0.75rem;
}
.asset-upload-zone {
min-height: 100px;
}
}
@media (max-height: 600px) {
.asset-upload-zone {
min-height: 80px;
}
}