.url-encoder-section {
    min-height: 100vh;
    padding: 40px 0;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.url-encoder-section .container {
    max-width: 600px;
    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;
}

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

.convert-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.tab-btn {
    flex: 1;
    padding: 12px 20px;
    background: #f0f0f0;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-btn.active {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
}

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

.input-section label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

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

.form-control:focus {
    outline: none;
    border-color: #4facfe;
    box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.1);
}

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

.action-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.convert-btn {
    flex: 1;
    padding: 14px 20px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.convert-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(79, 172, 254, 0.4);
}

.swap-btn {
    padding: 14px 20px;
    background: #f0f0f0;
    color: #666;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.swap-btn:hover {
    background: #e0e0e0;
}

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

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

.output-header label {
    font-weight: 600;
    color: #333;
}

.copy-btn {
    padding: 10px 20px;
    background: #4facfe;
    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: #3d9ce8;
}

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

.result-box {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 12px;
    padding: 20px;
    min-height: 80px;
}

#result-text {
    font-size: 14px;
    color: #fff;
    line-height: 1.6;
    word-break: break-all;
    font-family: 'Courier New', monospace;
}

.quick-examples {
    margin-bottom: 20px;
}

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

.section-title i {
    color: #4facfe;
}

.examples-list {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
}

.example-item {
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.example-item:last-child {
    border-bottom: none;
}

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

.example-text {
    font-size: 14px;
    font-family: 'Courier New', monospace;
    color: #333;
}

.tips-section {
    background: #fffbe6;
    border: 1px solid #ffe066;
    border-radius: 12px;
    padding: 20px;
}

.tips-list {
    margin: 0;
    padding-left: 20px;
}

.tips-list li {
    padding: 8px 0;
    color: #8b7355;
    font-size: 14px;
}

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

    .action-buttons {
        flex-direction: column;
    }
}