.text-case-section {
    min-height: 100vh;
    padding: 40px 0;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.text-case-section .container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

.calculator-header {
    text-align: center;
    margin-bottom: 30px;
}

.calculator-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.calculator-title i {
    font-size: 32px;
}

.calculator-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.calculator-badge {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.badge-item {
    padding: 5px 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 14px;
    color: #fff;
}

.converter-main {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.input-section {
    margin-bottom: 25px;
}

.input-section label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.input-section label i {
    color: #11998e;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    line-height: 1.6;
    resize: vertical;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #11998e;
    box-shadow: 0 0 0 3px rgba(17, 153, 142, 0.1);
}

.char-count {
    text-align: right;
    margin-top: 8px;
    font-size: 14px;
    color: #888;
}

.convert-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 25px;
}

.convert-btn {
    padding: 14px 15px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.convert-btn:hover {
    background: #11998e;
    border-color: #11998e;
    color: #fff;
}

.convert-btn i {
    font-size: 18px;
}

.output-section {
    margin-bottom: 25px;
}

.output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.output-header label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #333;
}

.output-header label i {
    color: #11998e;
}

.copy-btn {
    padding: 10px 20px;
    background: #11998e;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.copy-btn:hover:not(:disabled) {
    background: #0d7a71;
}

.copy-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.result-box {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    border-radius: 12px;
    padding: 20px;
    min-height: 100px;
}

#result-text {
    font-size: 16px;
    color: #fff;
    line-height: 1.6;
    word-break: break-all;
}

.example-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: #11998e;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.example-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 12px;
    background: #fff;
    border-radius: 10px;
}

.example-label {
    font-size: 14px;
    color: #888;
}

.example-text {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.example-text.uppercase {
    text-transform: uppercase;
}

.example-text.lowercase {
    text-transform: lowercase;
}

@media (max-width: 480px) {
    .converter-main {
        padding: 20px;
    }

    .convert-buttons {
        grid-template-columns: repeat(2, 1fr);
    }

    .examples-grid {
        grid-template-columns: 1fr;
    }
}