/* =========================================================
   Shrang Generator / Create New UI
   File belongs to:
   Plugin: sharang-music-generator
   Path: assets/css/forms.css
   ========================================================= */

:root {
    --shrang-orange: #fa5420;
    --shrang-orange-dark: #e94717;
    --shrang-orange-soft: #fff2ea;
    --shrang-orange-glow: rgba(250, 84, 32, 0.18);

    --shrang-black: #111111;
    --shrang-cream: #fff8f2;
    --shrang-warm: #fffdfb;

    --shrang-purple: #7c3aed;
    --shrang-purple-soft: #f5f3ff;
    --shrang-purple-glow: rgba(124, 58, 237, 0.18);

    --shrang-green: #059669;
    --shrang-green-soft: #ecfdf5;
    --shrang-green-glow: rgba(5, 150, 105, 0.16);

    --shrang-blue: #2563eb;
    --shrang-blue-soft: #eff6ff;
    --shrang-blue-glow: rgba(37, 99, 235, 0.16);

    --shrang-border: #eee7df;
    --shrang-muted: #555555;
}

/* Main generator container spacing */
.sharang-generator-wrap {
    max-width: 980px;
    margin: 0 auto;
    padding: 24px 14px 46px;
}

.sharang-generator-wrap h2 {
    margin: 0 0 12px;
    color: var(--shrang-black);
    font-size: 34px;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.sharang-generator-wrap h3 {
    margin: 0 0 14px;
    color: var(--shrang-black);
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.sharang-generator-wrap h4 {
    margin: 0 0 10px;
    color: var(--shrang-black);
    font-size: 18px;
    line-height: 1.3;
}

.sharang-generator-wrap p {
    color: #222;
    font-size: 16px;
    line-height: 1.6;
}

/* =========================================================
   Interface Language Preview
   Kept for compatibility. Create New no longer renders it.
   ========================================================= */

.sharang-interface-language-preview {
    margin: 0 0 22px !important;
    padding: 16px 18px !important;
    border: 1px solid #ece6df !important;
    border-radius: 18px !important;
    background:
        radial-gradient(circle at top left, rgba(250, 84, 32, 0.07), transparent 38%),
        var(--shrang-warm) !important;
    box-shadow: none !important;
}

.sharang-interface-language-preview strong {
    display: block;
    margin-bottom: 4px;
    color: var(--shrang-black);
    font-size: 15px;
}

.sharang-interface-language-preview p {
    margin: 0 0 12px;
    color: var(--shrang-muted);
    font-size: 14px;
    line-height: 1.55;
}

.sharang-interface-language-preview .sharang-action-buttons {
    gap: 8px;
}

.sharang-interface-language-preview .sharang-download-link,
.sharang-interface-language-preview .sharang-secondary-link {
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 11px;
    font-size: 13px;
}

/* =========================================================
   Create New Hub
   ========================================================= */

.sharang-create-hub {
    position: relative;
    margin: 0 0 24px;
    padding: 28px;
    overflow: hidden;
    border: 1px solid rgba(250, 84, 32, 0.18);
    border-radius: 26px;
    background:
        radial-gradient(circle at 8% 0%, rgba(250, 84, 32, 0.18), transparent 36%),
        radial-gradient(circle at 96% 12%, rgba(124, 58, 237, 0.12), transparent 32%),
        radial-gradient(circle at 80% 92%, rgba(5, 150, 105, 0.10), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #fff8f2 100%);
    box-shadow: 0 18px 46px rgba(17, 17, 17, 0.07);
}

.sharang-create-hub::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.62), transparent 42%),
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.78), transparent 28%);
    opacity: 0.9;
}

.sharang-create-hub > * {
    position: relative;
    z-index: 1;
}

.sharang-create-hub > p {
    max-width: 760px;
    margin: 0 0 20px;
    color: #333;
}

.sharang-create-options {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important;
    gap: 14px !important;
    margin: 22px 0 4px !important;
}

.sharang-create-option {
    --shrang-card-accent: var(--shrang-black);
    --shrang-card-accent-soft: rgba(17, 17, 17, 0.08);
    --shrang-card-accent-shadow: rgba(17, 17, 17, 0.12);

    position: relative;
    display: flex !important;
    flex-direction: column;
    min-height: 154px;
    padding: 20px 18px 16px !important;
    overflow: hidden;
    border: 1px solid rgba(234, 223, 215, 0.95) !important;
    border-radius: 20px !important;
    background:
        radial-gradient(circle at 14% 0%, var(--shrang-card-accent-soft), transparent 40%),
        linear-gradient(180deg, #ffffff 0%, #fffdfb 100%) !important;
    color: var(--shrang-black) !important;
    text-decoration: none !important;
    box-shadow: 0 10px 24px rgba(17, 17, 17, 0.045);
    transition:
        transform 0.16s ease,
        border-color 0.16s ease,
        box-shadow 0.16s ease,
        background 0.16s ease;
}

.sharang-create-option:nth-child(1),
.sharang-create-option-primary {
    --shrang-card-accent: var(--shrang-orange);
    --shrang-card-accent-soft: rgba(250, 84, 32, 0.12);
    --shrang-card-accent-shadow: var(--shrang-orange-glow);
}

.sharang-create-option:nth-child(2) {
    --shrang-card-accent: var(--shrang-blue);
    --shrang-card-accent-soft: rgba(37, 99, 235, 0.12);
    --shrang-card-accent-shadow: var(--shrang-blue-glow);
}

.sharang-create-option:nth-child(3) {
    --shrang-card-accent: var(--shrang-purple);
    --shrang-card-accent-soft: rgba(124, 58, 237, 0.12);
    --shrang-card-accent-shadow: var(--shrang-purple-glow);
}

.sharang-create-option:nth-child(4) {
    --shrang-card-accent: var(--shrang-green);
    --shrang-card-accent-soft: rgba(5, 150, 105, 0.12);
    --shrang-card-accent-shadow: var(--shrang-green-glow);
}

.sharang-create-option::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    background: var(--shrang-card-accent);
}

.sharang-create-option::after {
    content: "";
    position: absolute;
    right: -32px;
    bottom: -32px;
    width: 96px;
    height: 96px;
    border-radius: 999px;
    background: var(--shrang-card-accent-soft);
    pointer-events: none;
    transition: transform 0.16s ease, opacity 0.16s ease;
}

.sharang-create-option:hover,
.sharang-create-option:focus-visible {
    transform: translateY(-4px);
    border-color: var(--shrang-card-accent) !important;
    background:
        radial-gradient(circle at 12% 0%, var(--shrang-card-accent-soft), transparent 44%),
        linear-gradient(180deg, #ffffff 0%, var(--shrang-card-accent-soft) 100%) !important;
    box-shadow: 0 18px 38px var(--shrang-card-accent-shadow);
    outline: none;
}

.sharang-create-option:hover::after,
.sharang-create-option:focus-visible::after {
    transform: scale(1.1);
    opacity: 0.95;
}

.sharang-create-option strong,
.sharang-create-option span,
.sharang-create-option em {
    position: relative;
    z-index: 1;
}

.sharang-create-option strong {
    display: block !important;
    margin: 0 0 7px !important;
    color: var(--shrang-black);
    font-size: 18px !important;
    line-height: 1.25;
}

.sharang-create-option strong::before {
    content: "";
    display: inline-block;
    width: 11px;
    height: 11px;
    margin-right: 8px;
    border-radius: 999px;
    background: var(--shrang-card-accent);
    vertical-align: 0;
}

.sharang-create-option span {
    display: block !important;
    color: var(--shrang-muted) !important;
    font-size: 14.5px;
    line-height: 1.5;
}

.sharang-create-option em {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    justify-content: center;
    min-height: 31px;
    margin-top: auto;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--shrang-black);
    color: #fff;
    font-size: 12.5px;
    font-style: normal;
    font-weight: 900;
    line-height: 1.2;
}

.sharang-create-option:hover em,
.sharang-create-option:focus-visible em,
.sharang-create-option-primary em {
    background: var(--shrang-card-accent);
    color: #fff;
}

.sharang-create-option-primary {
    border-color: rgba(250, 84, 32, 0.42) !important;
    background:
        radial-gradient(circle at 12% 0%, rgba(250, 84, 32, 0.14), transparent 44%),
        linear-gradient(180deg, #fff9f6 0%, #ffffff 100%) !important;
}

.sharang-create-option-primary strong {
    color: #000;
}

.sharang-create-section {
    margin: 20px 0 !important;
    padding: 22px !important;
    border: 1px solid var(--shrang-border) !important;
    border-radius: 22px !important;
    background:
        radial-gradient(circle at top left, rgba(250, 84, 32, 0.055), transparent 34%),
        #fff !important;
    box-shadow: 0 12px 34px rgba(17, 17, 17, 0.035);
}

/* Color identity for sections following hub cards */
.sharang-create-hub + .sharang-create-song-section {
    border-top: 5px solid var(--shrang-orange);
}

.sharang-create-section:nth-of-type(2) {
    border-top: 5px solid var(--shrang-blue) !important;
}

.sharang-create-section:nth-of-type(3) {
    border-top: 5px solid var(--shrang-purple) !important;
}

.sharang-create-section:nth-of-type(4) {
    border-top: 5px solid var(--shrang-green) !important;
}

/* =========================================================
   Shrang Generator Form
   ========================================================= */

.sharang-create-song-section {
    margin: 22px 0 0;
    padding: 28px;
    border: 1px solid rgba(250, 84, 32, 0.22);
    border-radius: 26px;
    background:
        radial-gradient(circle at 0% 0%, rgba(250, 84, 32, 0.13), transparent 36%),
        linear-gradient(180deg, #ffffff 0%, #fff8f2 100%);
    box-shadow: 0 16px 42px rgba(17, 17, 17, 0.06);
}

.sharang-create-song-section > p {
    max-width: 760px;
    margin: 0 0 18px;
    color: #333;
}

.sharang-generator-form {
    margin-top: 14px;
}

.sharang-generator-form p {
    margin: 0 0 16px;
}

.sharang-generator-form label {
    display: inline-block;
    margin-bottom: 6px;
    color: var(--shrang-black);
    font-size: 15px;
    font-weight: 900;
}

.sharang-generator-form select,
.sharang-generator-form textarea,
.sharang-generator-form input[type="text"],
.sharang-generator-form input[type="email"],
.sharang-generator-form input[type="password"],
.sharang-generator-form input[type="number"],
.shrang-account-form input[type="text"],
.shrang-account-form input[type="email"],
.shrang-account-form input[type="password"] {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    padding: 11px 12px;
    border: 1px solid #d8d3cc;
    border-radius: 12px;
    background: #fff;
    color: var(--shrang-black);
    font-size: 15px;
    line-height: 1.45;
}

.sharang-generator-form select,
.sharang-generator-form input[type="text"],
.sharang-generator-form input[type="email"],
.sharang-generator-form input[type="password"],
.sharang-generator-form input[type="number"] {
    height: 44px;
}

.sharang-generator-form textarea {
    min-height: 150px;
    resize: vertical;
}

.sharang-generator-form select:focus,
.sharang-generator-form textarea:focus,
.sharang-generator-form input[type="text"]:focus,
.sharang-generator-form input[type="email"]:focus,
.sharang-generator-form input[type="password"]:focus,
.sharang-generator-form input[type="number"]:focus,
.shrang-account-form input[type="text"]:focus,
.shrang-account-form input[type="email"]:focus,
.shrang-account-form input[type="password"]:focus {
    outline: none;
    border-color: var(--shrang-orange);
    box-shadow: 0 0 0 3px rgba(250, 84, 32, 0.13);
}

/* =========================================================
   Shrang Branded Select / Dropdown Fields
   Note:
   Native browser option popups cannot be fully redesigned with CSS.
   This styles the closed select field everywhere Shrang forms use dropdowns.
   ========================================================= */

.sharang-generator-form select,
.sharang-create-section select,
.sharang-bed-music-box select,
.sharang-create-reel-selector select,
select.sharang-select,
select.sharang-reel-source-select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    cursor: pointer;
    padding-right: 48px !important;
    border: 1px solid rgba(17, 17, 17, 0.14) !important;
    border-radius: 15px !important;
    background-color: #ffffff !important;
    background-image:
        linear-gradient(45deg, transparent 50%, #ffffff 50%),
        linear-gradient(135deg, #ffffff 50%, transparent 50%),
        linear-gradient(135deg, var(--shrang-black), var(--shrang-orange)) !important;
    background-position:
        calc(100% - 22px) 50%,
        calc(100% - 16px) 50%,
        calc(100% - 40px) 50% !important;
    background-size:
        7px 7px,
        7px 7px,
        30px 30px !important;
    background-repeat: no-repeat !important;
    color: var(--shrang-black) !important;
    font-weight: 700;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 8px 20px rgba(17, 17, 17, 0.045);
    transition:
        border-color 0.16s ease,
        box-shadow 0.16s ease,
        background-color 0.16s ease,
        transform 0.16s ease;
}

.sharang-generator-form select:hover,
.sharang-create-section select:hover,
.sharang-bed-music-box select:hover,
.sharang-create-reel-selector select:hover,
select.sharang-select:hover,
select.sharang-reel-source-select:hover {
    border-color: rgba(250, 84, 32, 0.52) !important;
    background-color: #fffdfb !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 12px 26px rgba(250, 84, 32, 0.10);
}

.sharang-generator-form select:focus,
.sharang-create-section select:focus,
.sharang-bed-music-box select:focus,
.sharang-create-reel-selector select:focus,
select.sharang-select:focus,
select.sharang-reel-source-select:focus {
    outline: none !important;
    border-color: var(--shrang-orange) !important;
    background-color: #ffffff !important;
    box-shadow:
        0 0 0 3px rgba(250, 84, 32, 0.14),
        0 14px 30px rgba(250, 84, 32, 0.10) !important;
}

.sharang-generator-form select option,
.sharang-create-section select option,
.sharang-bed-music-box select option,
.sharang-create-reel-selector select option,
select.sharang-select option,
select.sharang-reel-source-select option {
    background: #ffffff;
    color: var(--shrang-black);
    font-weight: 600;
}

.sharang-app-dir-rtl .sharang-generator-form select,
.sharang-app-dir-rtl .sharang-create-section select,
.sharang-app-dir-rtl .sharang-bed-music-box select,
.sharang-app-dir-rtl .sharang-create-reel-selector select,
.sharang-app-dir-rtl select.sharang-select,
body.shrang-app-dir-rtl .sharang-generator-form select,
body.shrang-app-dir-rtl .sharang-create-section select,
body.shrang-app-dir-rtl .sharang-bed-music-box select,
body.shrang-app-dir-rtl .sharang-create-reel-selector select,
body.shrang-app-dir-rtl select.sharang-select {
    padding-right: 12px !important;
    padding-left: 48px !important;
    background-position:
        22px 50%,
        16px 50%,
        10px 50% !important;
    direction: rtl;
    text-align: right;
}

.sharang-create-reel-selector select {
    min-height: 52px !important;
    height: auto !important;
    padding-top: 13px !important;
    padding-bottom: 13px !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
}

/* =========================================================
   File and Button Fields
   ========================================================= */

.sharang-generator-form input[type="file"] {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 9px;
    border: 1px dashed #d8d3cc;
    border-radius: 12px;
    background: #fffdfb;
    color: var(--shrang-black);
    font-size: 14px;
}

.sharang-generator-form small,
.shrang-account-form small {
    display: block;
    margin-top: 6px;
    color: var(--shrang-muted);
    font-size: 13px;
    line-height: 1.45;
}

.sharang-generator-form button,
.shrang-account-form button {
    min-height: 43px;
    padding: 11px 18px;
    cursor: pointer;
    border: none;
    border-radius: 12px;
    background: var(--shrang-black);
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;
    transition: background 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.sharang-generator-form button:hover,
.shrang-account-form button:hover {
    background: var(--shrang-orange);
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(250, 84, 32, 0.18);
}

.sharang-generator-form button:disabled,
.shrang-account-form button:disabled {
    cursor: wait;
    opacity: 0.75;
}

/* =========================================================
   Upload Audio / Bed Music / Create Reel Inner Forms
   ========================================================= */

.sharang-create-section .sharang-result,
.sharang-bed-music-box {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.sharang-create-section form,
.sharang-bed-music-box form,
.sharang-create-reel-selector {
    margin-top: 16px;
}

.sharang-create-section form p,
.sharang-bed-music-box form p,
.sharang-create-reel-selector p {
    margin: 0 0 16px;
}

.sharang-create-section label,
.sharang-bed-music-box label,
.sharang-create-reel-selector label {
    display: inline-block;
    margin-bottom: 6px;
    color: var(--shrang-black);
    font-size: 15px;
    font-weight: 900;
}

.sharang-create-section input[type="text"],
.sharang-create-section input[type="email"],
.sharang-create-section input[type="password"],
.sharang-create-section select,
.sharang-create-section textarea,
.sharang-bed-music-box input[type="text"],
.sharang-bed-music-box select,
.sharang-bed-music-box textarea,
.sharang-create-reel-selector select {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 44px;
    padding: 11px 12px;
    border: 1px solid #d8d3cc;
    border-radius: 12px;
    background: #fff;
    color: var(--shrang-black);
    font-size: 15px;
    line-height: 1.45;
}

.sharang-create-section textarea,
.sharang-bed-music-box textarea {
    min-height: 112px;
    resize: vertical;
}

.sharang-create-section input[type="file"] {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 9px;
    border: 1px dashed #d8d3cc;
    border-radius: 12px;
    background: #fffdfb;
    color: var(--shrang-black);
    font-size: 14px;
}

.sharang-create-section input:focus,
.sharang-create-section select:focus,
.sharang-create-section textarea:focus,
.sharang-bed-music-box input:focus,
.sharang-bed-music-box select:focus,
.sharang-bed-music-box textarea:focus,
.sharang-create-reel-selector select:focus {
    outline: none;
    border-color: var(--shrang-orange);
    box-shadow: 0 0 0 3px rgba(250, 84, 32, 0.13);
}

.sharang-create-section button,
.sharang-bed-music-box button,
.sharang-create-reel-selector button {
    min-height: 43px;
    padding: 11px 18px;
    border: none;
    border-radius: 12px;
    background: var(--shrang-black);
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;
    transition: background 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.sharang-create-section button:hover,
.sharang-bed-music-box button:hover,
.sharang-create-reel-selector button:hover {
    background: var(--shrang-orange);
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(250, 84, 32, 0.18);
}

.sharang-create-section small,
.sharang-bed-music-box small,
.sharang-create-reel-selector small {
    display: block;
    margin-top: 6px;
    color: var(--shrang-muted);
    font-size: 13px;
    line-height: 1.45;
}

.sharang-bed-music-box .description {
    margin: 10px 0 16px;
    padding: 10px 12px;
    border: 1px solid rgba(5, 150, 105, 0.18);
    border-radius: 12px;
    background: var(--shrang-green-soft);
    color: #047857;
    font-size: 13px;
    line-height: 1.55;
}

/* File field lines inside Upload Audio */
.sharang-create-section input[type="file"] + small,
.sharang-generator-form input[type="file"] + small {
    margin-top: 8px;
}

/* =========================================================
   Styled File Upload Buttons
   Replaces browser/default Choose File button look where supported
   ========================================================= */

.sharang-generator-form input[type="file"],
.sharang-create-section input[type="file"],
.sharang-clip-studio input[type="file"],
.sharang-report-clip-box input[type="file"],
.sharang-my-clip-options-inner input[type="file"],
.sharang-clip-options-content input[type="file"] {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 9px;
    border: 1px dashed #d8d3cc;
    border-radius: 14px;
    background: #fffdfb;
    color: #555;
    font-size: 13px;
    line-height: 1.4;
}

.sharang-generator-form input[type="file"]::file-selector-button,
.sharang-create-section input[type="file"]::file-selector-button,
.sharang-clip-studio input[type="file"]::file-selector-button,
.sharang-report-clip-box input[type="file"]::file-selector-button,
.sharang-my-clip-options-inner input[type="file"]::file-selector-button,
.sharang-clip-options-content input[type="file"]::file-selector-button {
    min-height: 34px;
    margin-right: 10px;
    padding: 7px 12px;
    border: 1px solid #111111;
    border-radius: 10px;
    background: #111111;
    color: #ffffff;
    cursor: pointer;
    font-size: 12.5px;
    font-weight: 900;
    line-height: 1.2;
    transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.sharang-generator-form input[type="file"]::file-selector-button:hover,
.sharang-create-section input[type="file"]::file-selector-button:hover,
.sharang-clip-studio input[type="file"]::file-selector-button:hover,
.sharang-report-clip-box input[type="file"]::file-selector-button:hover,
.sharang-my-clip-options-inner input[type="file"]::file-selector-button:hover,
.sharang-clip-options-content input[type="file"]::file-selector-button:hover {
    background: #fa5420;
    border-color: #fa5420;
    transform: translateY(-1px);
}

.sharang-generator-form input[type="file"]::-webkit-file-upload-button,
.sharang-create-section input[type="file"]::-webkit-file-upload-button,
.sharang-clip-studio input[type="file"]::-webkit-file-upload-button,
.sharang-report-clip-box input[type="file"]::-webkit-file-upload-button,
.sharang-my-clip-options-inner input[type="file"]::-webkit-file-upload-button,
.sharang-clip-options-content input[type="file"]::-webkit-file-upload-button {
    min-height: 34px;
    margin-right: 10px;
    padding: 7px 12px;
    border: 1px solid #111111;
    border-radius: 10px;
    background: #111111;
    color: #ffffff;
    cursor: pointer;
    font-size: 12.5px;
    font-weight: 900;
    line-height: 1.2;
}

/* =========================================================
   RTL / Pashto, Dari, Farsi, Urdu Input Support
   ========================================================= */

.sharang-rtl-input {
    direction: rtl !important;
    text-align: right !important;
    unicode-bidi: plaintext !important;
    font-family: var(--shrang-rtl-font, Tahoma, "Segoe UI", Arial, sans-serif) !important;
    font-size: 18px !important;
    line-height: 1.9 !important;
    letter-spacing: 0 !important;
}

.sharang-ltr-input {
    direction: ltr !important;
    text-align: left !important;
    unicode-bidi: plaintext !important;
    font-family: inherit;
}

/* =========================================================
   Shrang Account Pages
   ========================================================= */

.shrang-account-page {
    max-width: 760px;
    margin: 0 auto;
}

.shrang-account-page h1 {
    margin-bottom: 12px;
}

.shrang-account-page > p {
    margin-bottom: 22px;
    color: #444;
    line-height: 1.6;
}

.shrang-account-form {
    margin-top: 18px;
}

.shrang-account-form p {
    margin-bottom: 16px;
}

.shrang-account-form label {
    display: block;
    margin-bottom: 6px;
}

.shrang-account-secondary-text {
    margin-top: 14px;
    color: #444;
    font-size: 15px;
}

.shrang-account-secondary-text a {
    color: var(--shrang-black);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.shrang-account-details {
    margin: 18px 0;
    padding: 14px 16px;
    border: 1px solid #e5e2dc;
    border-radius: 14px;
    background: #fafafa;
}

.shrang-account-details p {
    margin: 6px 0;
}

/* =========================================================
   Shrang Account Toolbar
   ========================================================= */

.shrang-account-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 18px 0 22px;
    padding: 16px;
    border: 1px solid #e5e2dc;
    border-radius: 16px;
    background:
        radial-gradient(circle at top left, rgba(250, 84, 32, 0.06), transparent 34%),
        #fafafa;
}

.shrang-account-toolbar-text p {
    margin: 0;
    color: #444;
    line-height: 1.5;
}

.shrang-account-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

/* =========================================================
   Show Password
   ========================================================= */

.shrang-show-password-row {
    margin-top: -4px;
    margin-bottom: 16px;
}

.shrang-show-password-row label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #444;
    font-size: 14px;
    font-weight: 600;
}

.shrang-show-password-row input {
    margin: 0;
}

/* =========================================================
   Checkboxes
   ========================================================= */

.sharang-legal-confirmation,
.sharang-public-confirmation {
    margin-top: 12px !important;
    padding: 10px 11px;
    border: 1px solid var(--shrang-border);
    border-radius: 14px;
    background: var(--shrang-warm);
}

.sharang-legal-confirmation label,
.sharang-public-confirmation label {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    margin: 0;
    color: #222;
    font-size: 13.5px;
    line-height: 1.48;
}

.sharang-legal-confirmation input,
.sharang-public-confirmation input {
    flex: 0 0 auto;
    margin-top: 4px;
}

/* Guest / account generation limit note */

.shrang-guest-limit-note {
    margin: 0 0 16px;
    padding: 11px 13px;
    border: 1px solid #ead7cd;
    border-radius: 12px;
    background: #fff8f4;
    color: #7c2d12;
    font-size: 13.5px;
    font-weight: 800;
}

/* =========================================================
   Rename Clip Form
   ========================================================= */

.sharang-rename-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    margin: 0 0 12px;
    padding: 7px 12px;
    border: 1px solid #d6d6d6;
    border-radius: 9px;
    background: #fff;
    color: var(--shrang-black);
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
}

.sharang-rename-toggle:hover {
    background: #f4f4f4;
    border-color: #bdbdbd;
}

.sharang-rename-form {
    margin: 0 0 14px;
    padding: 12px;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    background: #fff;
}

.sharang-rename-form label {
    display: block;
    margin-bottom: 6px;
    color: var(--shrang-muted);
    font-size: 13px;
    font-weight: 700;
}

.sharang-rename-row {
    display: flex;
    gap: 8px;
}

.sharang-rename-row input {
    box-sizing: border-box;
    flex: 1;
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid #ccc;
    border-radius: 9px;
}

.sharang-rename-row button {
    min-height: 40px;
    padding: 9px 13px;
    border: 1px solid var(--shrang-black);
    border-radius: 9px;
    background: var(--shrang-black);
    color: #fff;
    cursor: pointer;
    font-weight: 700;
}

.sharang-rename-row button:hover {
    background: #000;
}

.sharang-rename-row .sharang-rename-cancel {
    background: #fff;
    color: var(--shrang-black);
    border-color: #d6d6d6;
}

.sharang-rename-row .sharang-rename-cancel:hover {
    background: #f4f4f4;
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 760px) {
    .sharang-generator-wrap {
        padding: 14px 4px 32px;
    }

    .sharang-generator-wrap h2 {
        font-size: 27px;
        letter-spacing: -0.035em;
    }

    .sharang-generator-wrap h3 {
        font-size: 21px;
    }

    .sharang-generator-wrap p {
        font-size: 14.5px;
        line-height: 1.55;
    }

    .sharang-create-hub,
    .sharang-create-song-section,
    .sharang-create-section {
        padding: 16px !important;
        border-radius: 18px !important;
    }

    .sharang-create-hub {
        margin-bottom: 20px;
    }

    .sharang-create-options {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        margin-top: 18px !important;
    }

    .sharang-create-option {
        min-height: auto;
        padding: 15px 15px 13px !important;
        border-radius: 17px !important;
    }

    .sharang-create-option strong {
        margin-bottom: 5px !important;
        font-size: 16.5px !important;
    }

    .sharang-create-option span {
        font-size: 13.5px;
        line-height: 1.45;
    }

    .sharang-create-option em {
        width: auto;
        min-height: 30px;
        margin-top: 12px;
        padding: 7px 12px;
        font-size: 12.5px;
    }

    .sharang-generator-form p,
    .sharang-create-section form p,
    .sharang-bed-music-box form p,
    .sharang-create-reel-selector p {
        margin-bottom: 14px;
    }

    .sharang-generator-form select,
    .sharang-generator-form input[type="text"],
    .sharang-generator-form input[type="email"],
    .sharang-generator-form input[type="password"],
    .sharang-generator-form input[type="number"],
    .sharang-create-section input[type="text"],
    .sharang-create-section input[type="email"],
    .sharang-create-section input[type="password"],
    .sharang-create-section select,
    .sharang-bed-music-box input[type="text"],
    .sharang-bed-music-box select,
    .sharang-create-reel-selector select,
    .shrang-account-form input[type="text"],
    .shrang-account-form input[type="email"],
    .shrang-account-form input[type="password"] {
        min-height: 42px;
        height: 42px;
        padding: 10px 11px;
        font-size: 14px;
        border-radius: 11px;
    }

    .sharang-generator-form select,
    .sharang-create-section select,
    .sharang-bed-music-box select,
    .sharang-create-reel-selector select,
    select.sharang-select,
    select.sharang-reel-source-select {
        min-height: 46px !important;
        height: auto !important;
        padding-top: 11px !important;
        padding-bottom: 11px !important;
        padding-right: 48px !important;
        border-radius: 14px !important;
        font-size: 14px !important;
    }

    .sharang-app-dir-rtl .sharang-generator-form select,
    .sharang-app-dir-rtl .sharang-create-section select,
    .sharang-app-dir-rtl .sharang-bed-music-box select,
    .sharang-app-dir-rtl .sharang-create-reel-selector select,
    .sharang-app-dir-rtl select.sharang-select,
    body.shrang-app-dir-rtl .sharang-generator-form select,
    body.shrang-app-dir-rtl .sharang-create-section select,
    body.shrang-app-dir-rtl .sharang-bed-music-box select,
    body.shrang-app-dir-rtl .sharang-create-reel-selector select,
    body.shrang-app-dir-rtl select.sharang-select {
        padding-right: 11px !important;
        padding-left: 48px !important;
    }

    .sharang-generator-form textarea {
        min-height: 138px;
        padding: 10px 11px;
        font-size: 14px;
        border-radius: 11px;
    }

    .sharang-create-section textarea,
    .sharang-bed-music-box textarea {
        min-height: 104px;
        padding: 10px 11px;
        font-size: 14px;
        border-radius: 11px;
    }

    .sharang-generator-form input[type="file"],
    .sharang-create-section input[type="file"],
    .sharang-clip-studio input[type="file"],
    .sharang-report-clip-box input[type="file"],
    .sharang-my-clip-options-inner input[type="file"],
    .sharang-clip-options-content input[type="file"] {
        padding: 8px;
        border-radius: 12px;
        font-size: 12.5px;
    }

    .sharang-legal-confirmation,
    .sharang-public-confirmation {
        padding: 9px 10px;
        border-radius: 12px;
    }

    .sharang-legal-confirmation label,
    .sharang-public-confirmation label {
        font-size: 13px;
        line-height: 1.42;
    }

    .shrang-account-toolbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        margin: 12px 0 16px;
        padding: 12px;
        border-radius: 14px;
    }

    .shrang-account-toolbar-text p {
        font-size: 14px;
    }

    .shrang-account-toolbar-actions {
        width: 100%;
    }

    .sharang-rename-row {
        flex-direction: column;
    }

    .sharang-generator-form button,
    .shrang-account-form button,
    .sharang-create-section button,
    .sharang-bed-music-box button,
    .sharang-create-reel-selector button {
        width: 100%;
        min-height: 42px;
        padding: 10px 15px;
        border-radius: 11px;
        font-size: 13.5px;
    }
}

@media (max-width: 480px) {
    .sharang-generator-wrap {
        padding-left: 0;
        padding-right: 0;
    }

    .sharang-create-hub,
    .sharang-create-song-section,
    .sharang-create-section {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .sharang-create-option {
        padding: 14px !important;
    }

    .sharang-create-option strong {
        font-size: 16px !important;
    }

    .sharang-create-option span {
        font-size: 13px;
    }

    .sharang-create-option em {
        width: auto;
        align-self: flex-start;
    }

    .sharang-interface-language-preview .sharang-action-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .sharang-interface-language-preview .sharang-download-link,
    .sharang-interface-language-preview .sharang-secondary-link {
        justify-content: center;
        text-align: center;
    }
}