/* Simple Tools Plugin CSS */

:root {
    --white: #fff;
    --bg-light: #f8f9fa;
    --blue: #0B7EF1;
    --blue-hover: #1976D2;
    --blue-light: #e3f2fd;
    --text-dark: #333;
    --text-mid: #666;
    --text-light: #999;
    --border: #e0e0e0;
    --success: #35ce68;
    --error: #f44336;
    --radius: 8px;
    --shadow: 0 2px 8px rgba(0, 0, 0, .08);
    --transition: all .3s ease;
}

.multi-tools-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.multi-tools-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 30px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

.multi-tools-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--bg-light);
}

.multi-tools-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--text-dark);
}

.multi-tools-header p {
    color: var(--text-mid);
    font-size: 16px;
    margin: 0;
}

.multi-tools-form-group {
    margin-bottom: 20px;
}

.multi-tools-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 14px;
}

.multi-tools-input,
.multi-tools-select,
.multi-tools-textarea {
    width: 100%;
    padding: 0px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    transition: var(--transition);
    box-sizing: border-box;
    background: var(--white);
    color: var(--text-dark);
    font-family: inherit;
}

.multi-tools-input:focus,
.multi-tools-select:focus,
.multi-tools-textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px var(--blue-light);
}

.multi-tools-input::placeholder,
.multi-tools-textarea::placeholder {
    color: var(--text-light);
}

.multi-tools-textarea {
    min-height: 120px;
    resize: vertical;
    font-family: 'Courier New', monospace;
    line-height: 1.6;
}

.multi-tools-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.multi-tools-btn {
    border: none;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-family: inherit;
}

.multi-tools-btn-primary {
    background: linear-gradient(135deg, var(--blue), var(--blue-hover));
    color: var(--white);
    box-shadow: 0 2px 4px rgba(33, 150, 243, .2);
}

.multi-tools-btn-primary:hover {
    background: linear-gradient(135deg, var(--blue-hover), #1565C0);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(33, 150, 243, .3);
}

.multi-tools-btn-secondary {
    background: var(--white);
    color: var(--blue);
    border: 2px solid var(--blue);
}

.multi-tools-btn-secondary:hover {
    background: var(--blue-light);
}

.multi-tools-btn-block {
    width: 100%;
}

.multi-tools-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
    transform: none !important;
}

.multi-tools-result {
    margin-top: 30px;
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--radius);
    display: none;
    border: 1px solid var(--border);
}

.multi-tools-result.show {
    display: block;
    animation: fadeInUp .3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.multi-tools-result-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-size: 18px;
}

.multi-tools-loading {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.multi-tools-loading.show {
    display: block;
}

.multi-tools-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid var(--bg-light);
    border-top: 4px solid var(--blue);
    border-radius: 50%;
    animation: spin .8s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}

.multi-tools-loading p {
    margin-top: 15px;
    color: var(--text-mid);
    font-size: 14px;
}

.multi-tools-stats {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.multi-tools-stat-item {
    flex: 1;
    min-width: 140px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    border: 2px solid var(--border);
    text-align: center;
    transition: var(--transition);
}

.multi-tools-stat-item:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow);
}

.multi-tools-stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--blue);
    display: block;
    margin-bottom: 5px;
    line-height: 1;
}

.multi-tools-stat-label {
    font-size: 13px;
    color: var(--text-mid);
    text-transform: uppercase;
    letter-spacing: .5px;
}

@media (max-width: 768px) {
    .multi-tools-container {
        padding: 15px;
    }

    .multi-tools-card {
        padding: 20px;
    }

    .multi-tools-header h2 {
        font-size: 24px;
    }

    .multi-tools-stats {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .multi-tools-header h2 {
        font-size: 20px;
    }

    .multi-tools-header p {
        font-size: 14px;
    }

    .multi-tools-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}
/* Bổ sung */
input.multi-tools-input.st-short-url-input{
	border-radius:8px !important;
}