* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #22252A;
    --accent-color: #00DED6;
    --card-bg: #2A2E33;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-tertiary: rgba(255, 255, 255, 0.5);
    --border-color: rgba(255, 255, 255, 0.1);
    --input-bg: #33373C;
    --focus-ring: rgba(0, 222, 214, 0.5);
    --card-highlight: rgba(0, 222, 214, 0.08);
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    --button-hover: rgba(0, 222, 214, 0.9);
}

body {
    font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-color);
    padding: 40px 20px 80px;
    min-height: 100vh;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* Header Project Link */
.header-project {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
}

.project-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
    padding: 8px 12px;
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.2);
}

.project-link:hover {
    color: var(--accent-color);
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--card-bg);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.container:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Header with Logo */
.header {
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.logo {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    margin-right: 15px;
    object-fit: cover;
}

/* Share buttons in header */
.header .share-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

/* Creator section in header */
.header .creator-section {
    margin-top: 20px;
    padding: 0;
    border-top: none;
    text-align: center;
}

.header .creator-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 15px;
    border-radius: 12px;
    background-color: rgba(0, 0, 0, 0.2);
}

h1, h2, h3 {
    font-weight: 600;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 2rem;
    margin: 0;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 500;
}

h2 {
    font-size: 1.5rem;
    margin: 30px 0 20px 0;
    color: var(--text-primary);
}

h3 {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin: 20px 0 15px 0;
}

/* Toggle Switch */
.toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
    padding: 0 20px;
}

.toggle-label {
    margin-right: 15px;
    font-weight: 500;
    color: var(--text-secondary);
}

.toggle-switch {
    position: relative;
    width: 320px;
}

.toggle-input {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.toggle-input + .toggle-label {
    display: block;
    position: relative;
    cursor: pointer;
    outline: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 0;
    height: 48px;
    transition: background 0.4s;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.toggle-handle {
    display: block;
    position: absolute;
    top: 4px;
    left: 4px;
    width: 48%;
    height: calc(100% - 8px);
    background: linear-gradient(135deg, var(--accent-color), rgba(0, 222, 214, 0.8));
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.toggle-input:checked + .toggle-label .toggle-handle {
    left: calc(100% - 4px);
    transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
}

.toggle-on, .toggle-off {
    position: absolute;
    width: 50%;
    text-align: center;
    line-height: 48px;
    font-weight: 500;
    transition: all 0.3s ease;
    z-index: 2;
    padding: 0 15px;
    pointer-events: none;
}

.toggle-on {
    left: 0;
    color: var(--text-primary);
}

.toggle-off {
    right: 0;
    color: var(--text-secondary);
}

.toggle-input:checked + .toggle-label .toggle-on {
    color: var(--text-secondary);
}

.toggle-input:checked + .toggle-label .toggle-off {
    color: var(--text-primary);
}

/* Calculator Type Toggle */
.calculator-type-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
    padding: 0 20px;
}

.calculator-type-label {
    margin-right: 15px;
    font-weight: 500;
    color: var(--text-secondary);
}

.calculator-type-switch {
    position: relative;
    width: 240px;
}

.calculator-type-input {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.calculator-type-input + .calculator-type-label {
    display: block;
    position: relative;
    cursor: pointer;
    outline: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 0;
    height: 48px;
    transition: background 0.4s;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.calculator-type-handle {
    display: block;
    position: absolute;
    top: 4px;
    left: 4px;
    width: 48%;
    height: calc(100% - 8px);
    background: linear-gradient(135deg, var(--accent-color), rgba(0, 222, 214, 0.8));
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.calculator-type-input:checked + .calculator-type-label .calculator-type-handle {
    left: calc(100% - 4px);
    transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
}

.calculator-type-cost, .calculator-type-time {
    position: absolute;
    width: 50%;
    text-align: center;
    line-height: 48px;
    font-weight: 500;
    transition: all 0.3s ease;
    z-index: 2;
    padding: 0 15px;
    pointer-events: none;
}

.calculator-type-cost {
    left: 0;
    color: var(--text-primary);
}

.calculator-type-time {
    right: 0;
    color: var(--text-secondary);
}

.calculator-type-input:checked + .calculator-type-label .calculator-type-cost {
    color: var(--text-secondary);
}

.calculator-type-input:checked + .calculator-type-label .calculator-type-time {
    color: var(--text-primary);
}

/* Calculation Modes */
.calculation-mode {
    display: none;
    padding: 0 30px;
}

.calculation-mode.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Calculator Sections */
.calculator-section {
    display: none;
    animation: fadeIn 0.3s ease;
}

.calculator-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Input Sections */
.input-section {
    margin-bottom: 30px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.input-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 222, 214, 0.2);
}

.input-group {
    margin-bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.input-group label {
    flex: 1;
    min-width: 200px;
    font-weight: 500;
    color: var(--text-secondary);
}

.input-group input {
    flex: 0 0 auto;
    width: 200px;
    padding: 12px 15px;
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--focus-ring);
}

.input-group input::placeholder {
    color: var(--text-tertiary);
}

/* Time Calculator specific styles */
#time-calculator {
    padding: 0 30px;
}

#time-calculator .input-section {
    margin-bottom: 30px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#time-calculator .input-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 222, 214, 0.2);
}

#time-calculator .results-section {
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* Specialists */
.specialist-group {
    margin-bottom: 20px;
    padding: 20px;
    background-color: var(--card-highlight);
    border-radius: 12px;
    border: 1px solid rgba(0, 222, 214, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.specialist-group:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.specialist-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.specialist-header h4 {
    margin: 0;
    color: var(--accent-color);
    font-size: 18px;
}

.specialist-details {
    padding-left: 20px;
    display: block;
}

.note {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-top: 8px;
}

/* Specialist Rows */
.specialist-salary-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    transition: transform 0.2s ease;
}

.specialist-salary-row:hover {
    transform: translateX(5px);
}

.specialist-title {
    flex: 2;
    margin-right: 15px;
    padding: 12px 15px;
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.specialist-title:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--focus-ring);
}

.specialist-salary {
    flex: 1;
    margin-right: 10px;
    padding: 12px 15px;
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.specialist-salary:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--focus-ring);
}

.remove-specialist-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    cursor: pointer;
    padding: 5px 10px;
    transition: all 0.2s ease;
    border-radius: 50%;
}

.remove-specialist-btn:hover {
    color: #ff4757;
    background-color: rgba(255, 71, 87, 0.1);
    transform: scale(1.1);
}

/* Time Stages */
.time-stage-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    transition: transform 0.2s ease;
}

.time-stage-row:hover {
    transform: translateX(5px);
}

.time-stage-name {
    flex: 2;
    margin-right: 15px;
    padding: 12px 15px;
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.time-stage-name:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--focus-ring);
}

.time-stage-hours {
    flex: 1;
    margin-right: 10px;
    padding: 12px 15px;
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.time-stage-hours:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--focus-ring);
}

.remove-time-stage-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    cursor: pointer;
    padding: 5px 10px;
    transition: all 0.2s ease;
    border-radius: 50%;
}

.remove-time-stage-btn:hover {
    color: #ff4757;
    background-color: rgba(255, 71, 87, 0.1);
    transform: scale(1.1);
}

/* Buttons */
#add-specialist-btn,
#add-content-specialist-btn,
#add-time-stage-btn {
    background-color: var(--accent-color);
    color: #000000;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 222, 214, 0.2);
}

#add-specialist-btn:hover,
#add-content-specialist-btn:hover,
#add-time-stage-btn:hover {
    background-color: var(--button-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 222, 214, 0.3);
}

#add-specialist-btn:active,
#add-content-specialist-btn:active,
#add-time-stage-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 222, 214, 0.2);
}

/* Results Section */
.results-section {
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 15px 20px;
    background-color: var(--card-highlight);
    border-radius: 10px;
    border: 1px solid rgba(0, 222, 214, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.result-item:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 222, 214, 0.3);
}

.result-item:last-child {
    margin-bottom: 0;
    background: linear-gradient(to right, rgba(0, 222, 214, 0.15), rgba(0, 222, 214, 0.05));
    border: 1px solid rgba(0, 222, 214, 0.2);
}

.result-label {
    font-weight: 500;
    color: var(--text-secondary);
}

.result-value {
    font-weight: 600;
    font-size: 18px;
    color: var(--accent-color);
}

/* Actions Row */
.actions-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.action-button {
    background-color: var(--accent-color);
    color: #000000;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 10px rgba(0, 222, 214, 0.2);
}

.action-button:hover {
    background-color: var(--button-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 222, 214, 0.3);
}

.action-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 222, 214, 0.2);
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.share-button:hover {
    transform: translateY(-2px);
    color: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(0, 222, 214, 0.2);
}

.share-button.telegram:hover {
    color: #0088cc;
    border-color: #0088cc;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.2);
}

.share-button.vk:hover {
    color: #4a76a8;
    border-color: #4a76a8;
    box-shadow: 0 4px 15px rgba(74, 118, 168, 0.2);
}

.share-button.twitter:hover {
    color: #1da1f2;
    border-color: #1da1f2;
    box-shadow: 0 4px 15px rgba(29, 161, 242, 0.2);
}

/* Checkboxes */
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.2s ease;
}

input[type="checkbox"]::after {
    content: "";
    display: block;
    width: 6px;
    height: 10px;
    border: solid transparent;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    transition: border-color 0.2s ease;
}

input[type="checkbox"]:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

input[type="checkbox"]:checked::after {
    border-color: black;
}

input[type="checkbox"]:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px var(--focus-ring);
}

/* Number Input */
input[type="number"] {
    -moz-appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Content Specialist Sections */
.content-specialist-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    transition: transform 0.2s ease;
}

.content-specialist-row:hover {
    transform: translateX(5px);
}

.specialist-cost-input {
    flex: 1;
    min-width: 120px;
    max-width: 200px;
    padding: 12px 15px;
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    margin-right: 10px;
    transition: all 0.2s ease;
}

.specialist-cost-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--focus-ring);
}

/* Info Section */
.info-section {
    padding: 30px;
}

.info-section h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.info-section p {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.info-section ul {
    margin-bottom: 20px;
    padding-left: 20px;
    color: var(--text-secondary);
}

.info-section li {
    margin-bottom: 8px;
}

.info-section a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.info-section a:hover {
    text-decoration: underline;
}

/* Creator Section */
.creator-section {
    margin-top: 40px;
    padding: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.creator-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 15px;
    border-radius: 12px;
    background-color: rgba(0, 0, 0, 0.2);
}

.creator-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.creator-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.creator-name a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

.creator-name a:hover {
    text-decoration: underline;
    color: var(--accent-color);
}

.creator-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-right: 5px;
}

/* Post Types */
.post-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.post-type {
    background-color: var(--card-highlight);
    border: 1px solid rgba(0, 222, 214, 0.15);
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-type:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 222, 214, 0.3);
}

.post-type h4 {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.post-type ul {
    margin: 0;
    padding-left: 20px;
}

.post-type li {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.post-type li:last-child {
    margin-bottom: 0;
}

/* Glass effect for special elements */
.toggle-handle,
.calculator-type-handle,
.result-item:last-child {
    position: relative;
    overflow: hidden;
}

.toggle-handle::before,
.calculator-type-handle::before,
.result-item:last-child::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: skewX(-45deg);
    transition: 0.6s;
    z-index: 0;
}

.toggle-handle:hover::before,
.calculator-type-handle:hover::before,
.result-item:last-child:hover::before {
    left: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 20px 15px 60px;
    }
    
    .container {
        border-radius: 12px;
    }
    
    h1 {
        font-size: 1.6rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .header-project {
        position: relative;
        top: 0;
        right: 0;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .logo-container {
        flex-direction: column;
    }
    
    .logo {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    /* Mobile toggle switches */
    .toggle-container,
    .calculator-type-container {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    
    .toggle-label,
    .calculator-type-label {
        margin-right: 0;
        margin-bottom: 0;
        text-align: center;
    }
    
    .toggle-switch {
        width: 280px;
    }
    
    .toggle-handle {
        width: 48%;
    }
    
    .toggle-on, .toggle-off {
        padding: 0 5px;
        font-size: 14px;
    }
    
    .calculator-type-switch {
        width: 200px;
    }
    
    /* Mobile input groups */
    .input-group {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .input-group label {
        margin-bottom: 0;
        width: 100%;
        min-width: auto;
        text-align: left;
    }
    
    .input-group input {
        width: 100%;
        flex: 1;
    }
    
    /* Mobile specialist and time stage rows */
    .specialist-salary-row,
    .time-stage-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .specialist-title,
    .specialist-salary,
    .time-stage-name,
    .time-stage-hours {
        width: 100%;
        margin-right: 0;
        margin-bottom: 0;
        flex: 1;
    }
    
    .remove-specialist-btn,
    .remove-time-stage-btn {
        align-self: flex-end;
        margin-top: 10px;
    }
    
    /* Mobile calculator sections */
    .calculation-mode,
    #time-calculator {
        padding: 0 15px;
    }
    
    .input-section {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .results-section {
        padding: 20px 15px;
    }
    
    .result-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }
    
    .result-value {
        margin-top: 5px;
    }
    
    .actions-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .action-button {
        width: 100%;
        justify-content: center;
    }
    
    .creator-info {
        flex-direction: column;
        padding: 20px 15px;
        gap: 15px;
    }
    
    .creator-avatar {
        margin-right: 0;
        margin-bottom: 0;
    }
    
    .creator-text {
        text-align: center;
    }
    
    .post-types {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .post-type {
        padding: 15px;
    }
    
    /* Mobile share buttons */
    .share-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* Mobile content specialist rows */
    .content-specialist-row {
        flex-direction: column;
        gap: 10px;
        padding-bottom: 15px;
    }
    
    .specialist-cost-input {
        width: 100%;
        margin-right: 0;
        flex: 1;
        min-width: auto;
        max-width: none;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    body {
        padding: 15px 10px 50px;
    }
    
    .toggle-switch {
        width: 240px;
    }
    
    .calculator-type-switch {
        width: 180px;
    }
    
    .toggle-on, .toggle-off,
    .calculator-type-cost, .calculator-type-time {
        font-size: 13px;
        padding: 0 3px;
    }
    
    h1 {
        font-size: 1.4rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    .input-section {
        padding: 12px;
    }
    
    .results-section {
        padding: 15px 10px;
    }
} 