/* resizeImage.css - Premium Resize Image Tool Styles */

/* Tabs Styling */
#resize-tabs .nav-link {
    color: #64748b;
    font-weight: 600;
    border-radius: 10px;
    padding: 0.6rem 1.25rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

#resize-tabs .nav-link:hover {
    background: rgba(59, 130, 246, 0.05);
    color: #3b82f6;
}

#resize-tabs .nav-link.active {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

/* Percentage Selection Group */
.resize-percent-group {
    display: flex;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 5px;
    gap: 5px;
    margin-bottom: 1.5rem;
}

.resize-percent-btn-wrapper {
    flex: 1;
}

.resize-percent-btn-wrapper .btn-check+label {
    background: transparent;
    border: none;
    padding: 0.75rem 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #64748b;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.resize-percent-btn-wrapper .btn-check:hover+label {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.resize-percent-btn-wrapper .btn-check:checked+label {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.35);
}

.resize-percent-btn-wrapper .btn-check:checked+label .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Result Preview Box */
.resize-result-preview {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s ease;
}

.resize-result-preview:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.resize-result-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    font-size: 1.25rem;
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.1);
}

/* Controls Wrapper */
.resize-controls-wrapper {
    animation: fadeIn 0.3s ease-out;
}

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

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

/* Original Dimensions display */
.orig-dim-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    transition: all 0.2s ease;
}

.orig-dim-card:hover {
    border-color: #cbd5e1;
    background: #f1f5f9;
}