
.url-tool-container {
    margin: 0 auto;
}



.mode-selector {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
    border-radius: 6px;
    overflow: hidden;
    gap: 20px;
}

.mode-btn {
    flex: 1;
    padding: 12px 20px;
    background-color: gray;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mode-btn.active {
    background-color: #4a6cf7;
    color: white;
}

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

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

textarea {
    width: 100%;
    height: 120px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    /* font-size: 15px; */
    transition: border 0.3s ease;
    resize: vertical;
}

textarea:focus {
    outline: none;
    border-color: #4a6cf7;
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.1);
}

#output-text {
    background-color: #f9f9f9;
}

.button-row {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

button {
    padding: 10px 18px;
    background-color: #4a6cf7;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.mode-btn:hover{
    background-color: #254adc;
    color: white;
    transition: 0.5s;
}


#clear-btn {
    background-color: #f5f5f5;
    color: #333;
}

#clear-btn:hover {
    background-color: #e8e8e8;
}

.icon-btn {
    padding: 10px;
}

.info-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.info-section h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #333;
}

.info-section p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.examples {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 6px;
}

.examples h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
    color: #333;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

table th, table td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

table th {
    background-color: #f2f2f2;
    font-weight: 600;
}

/* Notification toast */
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.toast.show {
    opacity: 1;
}

/* Responsive adjustments */
