/* =========================================================
   Shrang Clip Studio
   File belongs to:
   Plugin: sharang-music-generator
   Path: assets/css/clip-studio.css

   Purpose:
   Safe Clip-Studio-only mobile refinement.
   Controls Clip Studio tabs, overview, cover, AI cover,
   reel, manage, visibility, preview poster, and workspace forms.
   ========================================================= */

.sharang-clip-studio {
    margin-top: -10px;
}

/* =========================================================
   Compact Workspace Tabs
   Order is controlled in PHP:
   Overview | Cover | Reel | Manage
   ========================================================= */

.sharang-clip-studio-tabs {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 6px !important;
    margin: 0 0 12px !important;
    padding: 7px !important;
    border: 1px solid rgba(240, 216, 206, 0.95);
    border-radius: 16px;
    background:
        radial-gradient(circle at 0% 0%, rgba(250, 84, 32, 0.08), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #fff8f2 100%);
    box-shadow: 0 8px 20px rgba(17, 17, 17, 0.035);
}

.sharang-clip-studio-tabs a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 34px !important;
    padding: 7px 5px !important;
    border-radius: 12px !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    white-space: nowrap;
    text-align: center;
    box-shadow: none !important;
}

.sharang-clip-studio-tabs a:nth-child(1) {
    border-color: rgba(17, 17, 17, 0.14) !important;
    background: #ffffff !important;
    color: #111111 !important;
}

.sharang-clip-studio-tabs a:nth-child(2) {
    border-color: rgba(37, 99, 235, 0.30) !important;
    background: #eff6ff !important;
    color: #1d4ed8 !important;
}

.sharang-clip-studio-tabs a:nth-child(3) {
    border-color: rgba(124, 58, 237, 0.32) !important;
    background: #f5f3ff !important;
    color: #5b21b6 !important;
}

.sharang-clip-studio-tabs a:nth-child(4) {
    border-color: rgba(17, 17, 17, 0.16) !important;
    background: #f4f4f5 !important;
    color: #111111 !important;
}

.sharang-clip-studio-tabs a.sharang-download-link {
    background: #fa5420 !important;
    border-color: #fa5420 !important;
    color: #ffffff !important;
    box-shadow: 0 8px 18px rgba(250, 84, 32, 0.14) !important;
}

/* =========================================================
   Shared Studio Cards
   ========================================================= */

.sharang-clip-studio-preview,
.sharang-clip-studio-workspace,
.sharang-clip-studio > .sharang-result:first-of-type,
.sharang-clip-studio .sharang-result[style*="margin:18px 0"],
.sharang-clip-studio .sharang-result[style*="margin: 18px 0"] {
    padding: 16px !important;
    border-color: rgba(240, 216, 206, 0.95) !important;
    border-radius: 20px !important;
    background:
        radial-gradient(circle at 0% 0%, rgba(250, 84, 32, 0.07), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #fff8f2 100%) !important;
    box-shadow: 0 12px 28px rgba(17, 17, 17, 0.04);
}

.sharang-clip-studio-workspace h3 {
    margin: 0 0 8px;
    color: #111111;
    font-size: 22px;
    line-height: 1.22;
    letter-spacing: -0.025em;
}

.sharang-clip-studio-workspace h4 {
    margin: 0 0 7px;
    color: #111111;
    font-size: 15px;
    line-height: 1.32;
}

.sharang-clip-studio-workspace p {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333333;
    font-size: 12.5px;
    line-height: 1.45;
}

.sharang-clip-studio div[style*="grid-template-columns:repeat(auto-fit,minmax(280px,1fr))"] {
    gap: 12px !important;
    margin-top: 12px !important;
}

.sharang-clip-studio div[style*="grid-template-columns:repeat(auto-fit,minmax(260px,1fr))"] {
    gap: 12px !important;
    margin-top: 12px !important;
}

.sharang-clip-studio div[style*="grid-template-columns:repeat(auto-fit,minmax(280px,1fr))"] > div,
.sharang-clip-studio div[style*="grid-template-columns:repeat(auto-fit,minmax(260px,1fr))"] > div {
    padding: 13px !important;
    border-color: rgba(240, 216, 206, 0.95) !important;
    border-radius: 15px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 8px 16px rgba(17, 17, 17, 0.025);
}

/* =========================================================
   Preview Card / Poster
   ========================================================= */

.sharang-clip-studio-preview {
    margin-bottom: 14px !important;
}

.sharang-clip-studio-preview-grid {
    align-items: center !important;
    gap: 12px !important;
}

.sharang-clip-studio-preview-visual {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: none !important;
}

.sharang-clip-studio-preview-visual img,
.sharang-clip-studio > .sharang-result:first-of-type img {
    display: block;
    width: 100% !important;
    max-width: 380px !important;
    max-height: 330px;
    object-fit: cover;
    border-radius: 18px !important;
    box-shadow: 0 12px 26px rgba(17, 17, 17, 0.10);
}

.sharang-clip-studio-poster {
    width: 100%;
    max-width: 380px;
    min-height: 250px;
    margin: 0 auto;
    border-radius: 18px;
}

.sharang-clip-studio-poster .sharang-recent-visual-overlay {
    padding: 16px;
}

.sharang-clip-studio-poster .sharang-recent-visual-text {
    padding-bottom: 16px;
}

.sharang-clip-studio-poster .sharang-recent-visual-text strong {
    font-size: 19px;
    line-height: 1.36;
    text-wrap: balance;
}

/* Hide repeated title under the visual. The title remains on the placeholder/poster. */
.sharang-clip-studio-preview-info h3,
.sharang-clip-studio > .sharang-result:first-of-type h3 {
    display: none !important;
}

.sharang-clip-studio-preview-info .sharang-recent-meta {
    margin-bottom: 5px;
    color: #3e3733;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
}

.sharang-clip-studio-preview audio,
.sharang-clip-studio audio {
    width: 100%;
    min-height: 40px;
    margin-top: 8px;
}

.sharang-clip-studio-preview .sharang-action-buttons {
    gap: 7px;
}

.sharang-clip-studio-preview .sharang-action-buttons a,
.sharang-clip-studio-preview .sharang-action-buttons button {
    min-height: 34px;
    padding: 8px 11px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 900;
}

/* =========================================================
   Overview / Status Cards
   ========================================================= */

.sharang-clip-studio-status-grid {
    gap: 8px !important;
    margin: 12px 0 0 !important;
}

.sharang-clip-studio-status-grid > div,
.sharang-clip-studio div[style*="grid-template-columns:repeat(auto-fit,minmax(170px,1fr))"] > div {
    position: relative;
    overflow: hidden;
    padding: 11px !important;
    border-color: rgba(240, 216, 206, 0.95) !important;
    border-radius: 14px !important;
    background:
        radial-gradient(circle at 0% 0%, rgba(250, 84, 32, 0.08), transparent 34%),
        #ffffff !important;
    box-shadow: 0 7px 15px rgba(17, 17, 17, 0.025);
}

.sharang-clip-studio-status-grid > div::before,
.sharang-clip-studio div[style*="grid-template-columns:repeat(auto-fit,minmax(170px,1fr))"] > div::before {
    content: "";
    display: block;
    width: 32px;
    height: 4px;
    margin-bottom: 7px;
    border-radius: 999px;
    background: #fa5420;
}

.sharang-clip-studio-status-grid > div:nth-child(2),
.sharang-clip-studio-status-grid > div:nth-child(5) {
    border-color: rgba(20, 184, 166, 0.26) !important;
    background:
        radial-gradient(circle at 0% 0%, rgba(20, 184, 166, 0.12), transparent 34%),
        #ffffff !important;
}

.sharang-clip-studio-status-grid > div:nth-child(2)::before,
.sharang-clip-studio-status-grid > div:nth-child(5)::before {
    background: #14b8a6;
}

.sharang-clip-studio-status-grid > div:nth-child(3) {
    border-color: rgba(124, 58, 237, 0.28) !important;
    background:
        radial-gradient(circle at 0% 0%, rgba(124, 58, 237, 0.11), transparent 34%),
        #ffffff !important;
}

.sharang-clip-studio-status-grid > div:nth-child(3)::before {
    background: #7c3aed;
}

.sharang-clip-studio-status-grid > div:nth-child(4) {
    border-color: rgba(37, 99, 235, 0.26) !important;
    background:
        radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.10), transparent 34%),
        #ffffff !important;
}

.sharang-clip-studio-status-grid > div:nth-child(4)::before {
    background: #2563eb;
}

.sharang-clip-studio-status-grid strong,
.sharang-clip-studio div[style*="grid-template-columns:repeat(auto-fit,minmax(170px,1fr))"] strong {
    display: block;
    margin-bottom: 3px;
    color: #111111;
    font-size: 12px;
    font-weight: 900;
}

.sharang-clip-studio-status-grid p,
.sharang-clip-studio div[style*="grid-template-columns:repeat(auto-fit,minmax(170px,1fr))"] p {
    margin: 0 !important;
    color: #333333;
    font-size: 12px;
    line-height: 1.35;
}

/* =========================================================
   Cover Workspace
   ========================================================= */

.sharang-clip-studio-cover-workspace {
    border-top: 5px solid #2563eb !important;
    background:
        radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.10), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
}

.sharang-clip-studio-cover-workspace > p:first-of-type {
    max-width: 680px;
    margin: 0 0 12px;
    padding: 8px 10px;
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 12px;
    background:
        radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.055), transparent 36%),
        #ffffff;
    color: #3e3733;
    font-size: 11.5px;
    line-height: 1.42;
}

.sharang-clip-studio-cover-workspace > img,
.sharang-clip-studio-cover-workspace > .sharang-recent-visual {
    display: block;
    width: 100%;
    max-width: 380px !important;
    margin: 10px auto 14px !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 26px rgba(17, 17, 17, 0.10);
}

/* Upload Cover card */
.sharang-clip-studio-cover-workspace div[style*="grid-template-columns"] > div:first-child {
    position: relative;
    overflow: hidden;
    border-color: rgba(37, 99, 235, 0.24) !important;
    background:
        radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.13), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f2f7ff 100%) !important;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.06);
}

.sharang-clip-studio-cover-workspace div[style*="grid-template-columns"] > div:first-child::before {
    content: "Upload";
    position: absolute;
    top: 10px;
    right: 10px;
    min-height: 22px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #2563eb;
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
}

.sharang-clip-studio-cover-workspace div[style*="grid-template-columns"] > div:first-child h4 {
    margin-right: 64px !important;
    font-size: 16px;
    letter-spacing: -0.015em;
}

.sharang-clip-studio-cover-workspace div[style*="grid-template-columns"] > div:first-child input[type="file"] {
    border-color: rgba(37, 99, 235, 0.24);
    background: #ffffff;
}

.sharang-clip-studio-cover-workspace div[style*="grid-template-columns"] > div:first-child button,
.sharang-clip-studio-cover-workspace div[style*="grid-template-columns"] > div:first-child .sharang-download-link {
    width: 100%;
    min-height: 38px;
    border-color: #2563eb !important;
    background: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.13);
}

/* Generate AI Cover card */
.sharang-clip-studio-cover-workspace div[style*="grid-template-columns"] > div:nth-child(2) {
    position: relative;
    overflow: hidden;
    border-color: rgba(124, 58, 237, 0.30) !important;
    background:
        radial-gradient(circle at 0% 0%, rgba(124, 58, 237, 0.16), transparent 34%),
        radial-gradient(circle at 100% 0%, rgba(250, 84, 32, 0.08), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #fbf8ff 100%) !important;
    box-shadow: 0 12px 26px rgba(124, 58, 237, 0.08);
}

.sharang-clip-studio-cover-workspace div[style*="grid-template-columns"] > div:nth-child(2)::before {
    content: "AI";
    position: absolute;
    top: 10px;
    right: 10px;
    min-height: 22px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #7c3aed;
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.02em;
}

.sharang-clip-studio-cover-workspace div[style*="grid-template-columns"] > div:nth-child(2) h4 {
    margin: 0 38px 7px 0 !important;
    color: #111111;
    font-size: 16px;
    line-height: 1.24;
    letter-spacing: -0.015em;
}

.sharang-clip-studio-cover-workspace div[style*="grid-template-columns"] > div:nth-child(2) h4::after {
    content: "Create a visual identity for your clip";
    display: block;
    margin-top: 4px;
    color: #5b21b6;
    font-size: 10.8px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0;
}

.sharang-clip-studio-cover-workspace div[style*="grid-template-columns"] > div:nth-child(2) > p {
    margin: 0 0 10px;
    padding: 7px 9px;
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.72);
    color: #4a3f57;
    font-size: 11.3px;
    line-height: 1.38;
}

.sharang-clip-studio-cover-workspace div[style*="grid-template-columns"] > div:nth-child(2) form p,
.sharang-clip-studio-cover-workspace div[style*="grid-template-columns"] > div:first-child form p {
    margin: 0 0 10px;
}

.sharang-clip-studio-cover-workspace div[style*="grid-template-columns"] > div:nth-child(2) label,
.sharang-clip-studio-cover-workspace div[style*="grid-template-columns"] > div:nth-child(2) label strong {
    margin-bottom: 4px;
    color: #111111;
    font-size: 12.5px;
    font-weight: 900;
    line-height: 1.25;
}

.sharang-clip-studio-cover-workspace div[style*="grid-template-columns"] > div:nth-child(2) select,
.sharang-clip-studio-cover-workspace div[style*="grid-template-columns"] > div:nth-child(2) textarea {
    border-color: rgba(124, 58, 237, 0.24);
    background: #ffffff;
}

.sharang-clip-studio-cover-workspace div[style*="grid-template-columns"] > div:nth-child(2) textarea {
    min-height: 74px;
    font-size: 12.5px;
}

.sharang-clip-studio-cover-workspace div[style*="grid-template-columns"] > div:nth-child(2) button,
.sharang-clip-studio-cover-workspace div[style*="grid-template-columns"] > div:nth-child(2) .sharang-download-link {
    width: 100%;
    min-height: 40px;
    border-color: #7c3aed !important;
    background: #7c3aed !important;
    color: #ffffff !important;
    box-shadow: 0 9px 20px rgba(124, 58, 237, 0.15);
}

/* Remove Cover section */
.sharang-clip-studio-cover-workspace div[style*="border:1px solid #f0d0d0"],
.sharang-clip-studio-cover-workspace div[style*="border: 1px solid #f0d0d0"] {
    border-color: rgba(180, 35, 24, 0.24) !important;
    background:
        radial-gradient(circle at 0% 0%, rgba(180, 35, 24, 0.055), transparent 34%),
        #fff7f7 !important;
}

/* =========================================================
   Reel Workspace
   ========================================================= */

.sharang-clip-studio-reel-workspace {
    border-top: 5px solid #7c3aed !important;
    background:
        radial-gradient(circle at 0% 0%, rgba(124, 58, 237, 0.12), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #fbf8ff 100%) !important;
}

.sharang-clip-studio-reel-workspace > p:first-of-type {
    max-width: 680px;
    margin: 0 0 12px;
    padding: 8px 10px;
    border: 1px solid rgba(124, 58, 237, 0.14);
    border-radius: 12px;
    background:
        radial-gradient(circle at 0% 0%, rgba(124, 58, 237, 0.055), transparent 36%),
        #ffffff;
    color: #3e3733;
    font-size: 11.5px;
    line-height: 1.42;
}

/* Option 1: Cover image reel */
.sharang-clip-studio-reel-workspace div[style*="grid-template-columns"] > div:first-child {
    position: relative;
    overflow: hidden;
    border-color: rgba(124, 58, 237, 0.30) !important;
    background:
        radial-gradient(circle at 0% 0%, rgba(124, 58, 237, 0.15), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #fbf8ff 100%) !important;
    box-shadow: 0 10px 22px rgba(124, 58, 237, 0.07);
}

.sharang-clip-studio-reel-workspace div[style*="grid-template-columns"] > div:first-child::before {
    content: "Fast";
    position: absolute;
    top: 10px;
    right: 10px;
    min-height: 22px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #7c3aed;
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
}

.sharang-clip-studio-reel-workspace div[style*="grid-template-columns"] > div:first-child h4 {
    margin-right: 52px !important;
    font-size: 16px;
    letter-spacing: -0.015em;
}

.sharang-clip-studio-reel-workspace div[style*="grid-template-columns"] > div:first-child img {
    display: block;
    max-width: 220px !important;
    width: 100% !important;
    margin: 10px auto !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 22px rgba(17, 17, 17, 0.10);
}

.sharang-clip-studio-reel-workspace div[style*="grid-template-columns"] > div:first-child button,
.sharang-clip-studio-reel-workspace div[style*="grid-template-columns"] > div:first-child .sharang-download-link {
    width: 100%;
    min-height: 40px;
    border-color: #7c3aed !important;
    background: #7c3aed !important;
    color: #ffffff !important;
    box-shadow: 0 9px 20px rgba(124, 58, 237, 0.15);
}

/* Option 2: Upload video background */
.sharang-clip-studio-reel-workspace div[style*="grid-template-columns"] > div:nth-child(2) {
    position: relative;
    overflow: hidden;
    border-color: rgba(37, 99, 235, 0.26) !important;
    background:
        radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.12), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f2f7ff 100%) !important;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.06);
}

.sharang-clip-studio-reel-workspace div[style*="grid-template-columns"] > div:nth-child(2)::before {
    content: "Video";
    position: absolute;
    top: 10px;
    right: 10px;
    min-height: 22px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #2563eb;
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
}

.sharang-clip-studio-reel-workspace div[style*="grid-template-columns"] > div:nth-child(2) h4 {
    margin-right: 58px !important;
    font-size: 16px;
    letter-spacing: -0.015em;
}

.sharang-clip-studio-reel-workspace div[style*="grid-template-columns"] > div:nth-child(2) button,
.sharang-clip-studio-reel-workspace div[style*="grid-template-columns"] > div:nth-child(2) .sharang-download-link {
    width: 100%;
    min-height: 40px;
    border-color: #2563eb !important;
    background: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 9px 20px rgba(37, 99, 235, 0.14);
}

/* Current reel section */
.sharang-clip-studio-reel-workspace div[style*="margin-top:18px"] {
    border-color: rgba(20, 184, 166, 0.26) !important;
    background:
        radial-gradient(circle at 0% 0%, rgba(20, 184, 166, 0.11), transparent 34%),
        #ffffff !important;
}

/* =========================================================
   Manage Workspace
   ========================================================= */

.sharang-clip-studio-manage-workspace {
    border-top: 5px solid #111111 !important;
    background:
        radial-gradient(circle at 0% 0%, rgba(17, 17, 17, 0.05), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%) !important;
}

.sharang-clip-studio-manage-workspace > p:first-of-type {
    max-width: 680px;
    margin: 0 0 12px;
    padding: 8px 10px;
    border: 1px solid rgba(17, 17, 17, 0.10);
    border-radius: 12px;
    background:
        radial-gradient(circle at 0% 0%, rgba(17, 17, 17, 0.035), transparent 36%),
        #ffffff;
    color: #3e3733;
    font-size: 11.5px;
    line-height: 1.42;
}

/* Public/private visibility card */
.sharang-clip-studio-manage-workspace div[style*="grid-template-columns"] > div:first-child {
    border-color: rgba(20, 184, 166, 0.28) !important;
    background:
        radial-gradient(circle at 0% 0%, rgba(20, 184, 166, 0.13), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f3fff8 100%) !important;
}

.sharang-clip-studio-manage-workspace div[style*="grid-template-columns"] > div:first-child h4::after {
    content: "Public means shareable. Private means only you can see it.";
    display: block;
    margin-top: 4px;
    color: #047857;
    font-size: 10.8px;
    font-weight: 800;
    line-height: 1.3;
}

/* Rename card */
.sharang-clip-studio-manage-workspace div[style*="grid-template-columns"] > div:nth-child(2) {
    border-color: rgba(250, 84, 32, 0.24) !important;
    background:
        radial-gradient(circle at 0% 0%, rgba(250, 84, 32, 0.11), transparent 34%),
        #ffffff !important;
}

/* Delete reel card */
.sharang-clip-studio-manage-workspace div[style*="grid-template-columns"] > div:nth-child(3) {
    border-color: rgba(124, 58, 237, 0.24) !important;
    background:
        radial-gradient(circle at 0% 0%, rgba(124, 58, 237, 0.09), transparent 34%),
        #ffffff !important;
}

/* Technical info */
.sharang-clip-studio-manage-workspace div[style*="Technical Info"],
.sharang-clip-studio-manage-workspace div:last-child {
    border-color: rgba(37, 99, 235, 0.22) !important;
    background:
        radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.08), transparent 34%),
        #ffffff !important;
}

/* Delete full clip panel */
.sharang-clip-studio-manage-workspace div[style*="border:1px solid #f0d0d0"],
.sharang-clip-studio-manage-workspace div[style*="border: 1px solid #f0d0d0"] {
    border-color: rgba(180, 35, 24, 0.24) !important;
    background:
        radial-gradient(circle at 0% 0%, rgba(180, 35, 24, 0.055), transparent 34%),
        #fff7f7 !important;
}

/* =========================================================
   Forms
   ========================================================= */

.sharang-clip-studio form label {
    display: inline-block;
    margin-bottom: 6px;
    color: #111111;
    font-size: 13px;
    font-weight: 900;
}

.sharang-clip-studio input[type="text"],
.sharang-clip-studio input[type="url"],
.sharang-clip-studio input[type="email"],
.sharang-clip-studio input[type="password"],
.sharang-clip-studio select,
.sharang-clip-studio textarea {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 40px;
    padding: 9px 11px;
    border: 1px solid #d8d3cc;
    border-radius: 11px;
    background: #ffffff;
    color: #111111;
    font-size: 13px;
    line-height: 1.45;
}

.sharang-clip-studio textarea {
    min-height: 92px;
    resize: vertical;
}

.sharang-clip-studio input[type="file"] {
    box-sizing: border-box;
    width: 100%;
    padding: 9px;
    border: 1px dashed #d8d3cc;
    border-radius: 11px;
    background: #fffdfb;
    font-size: 12.5px;
}

.sharang-clip-studio input:focus,
.sharang-clip-studio select:focus,
.sharang-clip-studio textarea:focus {
    outline: none;
    border-color: #fa5420;
    box-shadow: 0 0 0 3px rgba(250, 84, 32, 0.13);
}

.sharang-clip-studio small {
    color: #555555;
    font-size: 11.5px;
    line-height: 1.45;
}

.sharang-clip-studio form button,
.sharang-clip-studio .sharang-result button {
    min-height: 36px;
    padding: 8px 13px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 900;
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 640px) {
    .sharang-clip-studio {
        padding-top: 6px;
    }

    .sharang-clip-studio-tabs {
        position: sticky;
        top: 0;
        z-index: 30;
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 5px !important;
        max-width: none;
        margin: -8px 0 10px !important;
        padding: 6px !important;
        overflow: visible;
        border-radius: 15px;
        background:
            linear-gradient(180deg, rgba(255, 248, 242, 0.98) 0%, rgba(255, 255, 255, 0.96) 100%);
        backdrop-filter: blur(10px);
    }

    .sharang-clip-studio-tabs a {
        width: 100% !important;
        min-height: 32px !important;
        padding: 7px 4px !important;
        border-radius: 11px !important;
        font-size: 10.5px !important;
        white-space: nowrap;
    }

    .sharang-clip-studio-preview,
    .sharang-clip-studio-workspace,
    .sharang-clip-studio .sharang-result[style*="margin:18px 0"],
    .sharang-clip-studio .sharang-result[style*="margin: 18px 0"],
    .sharang-clip-studio > .sharang-result:first-of-type {
        padding: 13px !important;
        border-radius: 17px !important;
    }

    .sharang-clip-studio-preview-grid,
    .sharang-clip-studio .sharang-result:first-of-type > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    .sharang-clip-studio-preview-visual {
        max-width: 100% !important;
    }

    .sharang-clip-studio-preview-visual img,
    .sharang-clip-studio > .sharang-result:first-of-type img {
        max-width: 100% !important;
        max-height: 300px;
    }

    .sharang-clip-studio-poster {
        max-width: 100%;
        min-height: 230px;
    }

    .sharang-clip-studio-poster .sharang-recent-visual-text strong {
        font-size: 18px;
    }

    .sharang-clip-studio-workspace h3 {
        font-size: 21px;
    }

    .sharang-clip-studio-workspace h4 {
        font-size: 15px;
    }

    .sharang-clip-studio-workspace p,
    .sharang-clip-studio-cover-workspace > p:first-of-type,
    .sharang-clip-studio-reel-workspace > p:first-of-type,
    .sharang-clip-studio-manage-workspace > p:first-of-type {
        font-size: 11.5px;
        line-height: 1.42;
    }

    .sharang-clip-studio-status-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 7px !important;
    }

    .sharang-clip-studio-status-grid > div {
        padding: 10px !important;
    }

    .sharang-clip-studio-status-grid strong {
        font-size: 11.5px !important;
    }

    .sharang-clip-studio-status-grid p {
        font-size: 11.5px !important;
    }

    .sharang-clip-studio .sharang-action-buttons {
        gap: 7px;
    }

    .sharang-clip-studio .sharang-action-buttons a,
    .sharang-clip-studio .sharang-action-buttons button {
        min-height: 33px;
        padding: 7px 10px;
        border-radius: 9px;
        font-size: 11.5px;
    }

    .sharang-clip-studio-cover-workspace div[style*="grid-template-columns"] > div,
    .sharang-clip-studio-reel-workspace div[style*="grid-template-columns"] > div,
    .sharang-clip-studio-manage-workspace div[style*="grid-template-columns"] > div {
        padding: 12px !important;
        border-radius: 15px !important;
    }

    .sharang-clip-studio-cover-workspace div[style*="grid-template-columns"] > div:nth-child(2) > p,
    .sharang-clip-studio-reel-workspace div[style*="grid-template-columns"] > div:first-child > p,
    .sharang-clip-studio-reel-workspace div[style*="grid-template-columns"] > div:nth-child(2) > p {
        padding: 7px 9px;
        font-size: 11.2px;
        line-height: 1.38;
    }

    .sharang-clip-studio-cover-workspace div[style*="grid-template-columns"] > div:nth-child(2) label,
    .sharang-clip-studio-cover-workspace div[style*="grid-template-columns"] > div:nth-child(2) label strong {
        font-size: 12px;
    }

    .sharang-clip-studio input[type="text"],
    .sharang-clip-studio input[type="url"],
    .sharang-clip-studio input[type="email"],
    .sharang-clip-studio input[type="password"],
    .sharang-clip-studio select {
        min-height: 38px;
        font-size: 12.5px;
    }

    .sharang-clip-studio textarea {
        min-height: 74px;
        font-size: 12.5px;
    }
}

@media (max-width: 420px) {
    .sharang-clip-studio-tabs {
        gap: 4px !important;
        padding: 5px !important;
    }

    .sharang-clip-studio-tabs a {
        min-height: 31px !important;
        padding: 7px 3px !important;
        font-size: 10px !important;
    }

    .sharang-clip-studio-poster {
        min-height: 210px;
    }

    .sharang-clip-studio-status-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}
