/* Shared Tool Styles (Dashboard) */
/* ===== PROJECT DASHBOARD STYLES ===== */
.project-dashboard {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    margin-top: 30px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(102, 126, 234, 0.1);
}

.project-logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.project-info h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 8px 0;
}

.project-tagline {
    font-size: 1.1rem;
    color: #718096;
    margin: 0;
    font-weight: 500;
}

.project-status {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.project-status .status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(72, 187, 120, 0.3);
}

.project-status .status-badge.live {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.metric-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.metric-card.primary::before {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.metric-card.secondary::before {
    background: linear-gradient(90deg, #ed8936 0%, #dd6b20 100%);
}

.metric-card.success::before {
    background: linear-gradient(90deg, #48bb78 0%, #38a169 100%);
}

.metric-card.info::before {
    background: linear-gradient(90deg, #4299e1 0%, #3182ce 100%);
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.metric-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    color: #4a5568;
}

.metric-card.primary .metric-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.metric-card.secondary .metric-icon {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
    color: white;
}

.metric-card.success .metric-icon {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
}

.metric-card.info .metric-icon {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: white;
}

.metric-number {
    font-size: 3rem;
    font-weight: 800;
    color: #2d3748;
    line-height: 1;
    margin-bottom: 8px;
}

.metric-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
}

.metric-description {
    font-size: 0.9rem;
    color: #718096;
    line-height: 1.4;
    margin-bottom: 20px;
}

.metric-progress {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
    transition: width 1s ease;
    animation: progressLoad 2s ease-in-out;
}

.metric-card.secondary .progress-bar {
    background: linear-gradient(90deg, #ed8936 0%, #dd6b20 100%);
}

.metric-card.success .progress-bar {
    background: linear-gradient(90deg, #48bb78 0%, #38a169 100%);
}

.metric-card.info .progress-bar {
    background: linear-gradient(90deg, #4299e1 0%, #3182ce 100%);
}

@keyframes progressLoad {
    0% { width: 0%; }
}

.feature-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.highlight-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.highlight-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 5px 0;
}

.highlight-content p {
    font-size: 0.9rem;
    color: #718096;
    margin: 0;
    line-height: 1.4;
}

/* Responsive Design for Dashboard */
@media (max-width: 768px) {
    .project-dashboard {
        padding: 25px;
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .project-logo {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo-circle {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .project-info h3 {
        font-size: 1.5rem;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .metric-card {
        padding: 20px;
    }
    
    .metric-number {
        font-size: 2.5rem;
    }
    
    .feature-highlights {
        grid-template-columns: 1fr;
    }
    
    .highlight-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-item {
        padding: 2rem;
        min-width: auto;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .contact-item h4 {
        font-size: 1.2rem;
    }
    
    .contact-description {
        font-size: 0.95rem;
    }
    
    .contact-method {
        padding: 0.6rem;
        gap: 0.6rem;
    }
    
    .contact-method span {
        font-size: 0.9rem;
    }
    
    .contact-tags {
        gap: 0.4rem;
    }
    
    .contact-tag {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .collaboration-cta {
        padding: 2rem;
        margin-top: 3rem;
    }
    
    .collaboration-cta .cta-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .cta-text h3 {
        font-size: 1.5rem;
    }
    
    .cta-text p {
        font-size: 1rem;
    }
    
    .cta-actions {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    
    .license-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        padding: 2rem;
    }
    
    .license-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin: 0 auto;
    }
    
    .license-text h4 {
        font-size: 1.2rem;
    }
    
    .license-badge {
        align-items: center;
    }
    
    .team-member, .tech-category, .contact-item {
        padding: 2rem;
    }
    
    .member-avatar {
        width: 70px;
        height: 70px;
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    /* Tech category responsive adjustments */
    .category-header {
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .category-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .category-header h4 {
        font-size: 1.3rem;
    }
    
    .tech-badges {
        gap: 0.5rem;
    }
    
    .tech-badge {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .tech-badge i {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .team-member, .tech-category, .contact-item {
        padding: 1.5rem;
    }
    
    .member-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.1rem;
    }
    
    .skill-tag {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
    
    /* Contact section mobile small adjustments */
    .contact-item {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .contact-item h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .contact-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .contact-method {
        padding: 0.5rem;
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-method span {
        font-size: 0.85rem;
    }
    
    .contact-tags {
        gap: 0.3rem;
        justify-content: center;
    }
    
    .contact-tag {
        padding: 0.25rem 0.5rem;
        font-size: 0.7rem;
    }
    
    .collaboration-cta {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .cta-text h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    
    .cta-text p {
        font-size: 0.95rem;
    }
    
    .cta-actions {
        gap: 0.5rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
    
    .license-content {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .license-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .license-text h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .license-text p {
        font-size: 0.9rem;
    }
    
    .license-badge .badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    /* Tech category mobile small adjustments */
    .category-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        margin-bottom: 1.25rem;
    }
    
    .category-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        margin: 0 auto;
    }
    
    .category-header h4 {
        font-size: 1.2rem;
    }
    
    .tech-badges {
        justify-content: center;
        gap: 0.4rem;
    }
    
    .tech-badge {
        padding: 0.5rem 0.7rem;
        font-size: 0.8rem;
        min-width: auto;
        flex: 0 1 auto;
    }
    
    .tech-badge i {
        font-size: 0.85rem;
    }
    
    .tech-badge span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 120px;
    }
}

/* Enhanced Scroll Animations */
@media (prefers-reduced-motion: no-preference) {
    .team-member, .tech-category, .contact-item {
        opacity: 0;
        transform: translateY(30px);
        animation: slideInUp 0.6s ease forwards;
    }
    
    .category-icon {
        animation: iconPulse 2s ease-in-out infinite;
    }
    
    .team-member:nth-child(1) { animation-delay: 0.1s; }
    .team-member:nth-child(2) { animation-delay: 0.2s; }
    .team-member:nth-child(3) { animation-delay: 0.3s; }
    
    .tech-category:nth-child(1) { animation-delay: 0.1s; }
    .tech-category:nth-child(2) { animation-delay: 0.2s; }
    .tech-category:nth-child(3) { animation-delay: 0.3s; }
    .tech-category:nth-child(4) { animation-delay: 0.4s; }
    
    .contact-item:nth-child(1) { animation-delay: 0.1s; }
    .contact-item:nth-child(2) { animation-delay: 0.2s; }
    .contact-item:nth-child(3) { animation-delay: 0.3s; }
    
    .collaboration-cta { 
        opacity: 0;
        transform: translateY(30px);
        animation: slideInUp 0.6s ease forwards;
        animation-delay: 0.5s;
    }
    
    .license-info {
        opacity: 0;
        transform: translateY(30px);
        animation: slideInUp 0.6s ease forwards;
        animation-delay: 0.6s;
    }
}

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

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ===== SHARED APP CARD STYLES ===== */
.app-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.card-title h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
}

.card-title p {
    margin: 0.5rem 0 0 0;
    color: #64748b;
    font-size: 0.95rem;
}

.card-actions {
    margin-left: auto;
}

/* ===== SHARED DRAG & DROP UPLOAD STYLES ===== */
.upload-zone-container {
    position: relative;
}

.upload-zone {
    border: 3px dashed #cbd5e1;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-zone.drag-over {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.upload-zone.drag-over .upload-icon {
    transform: scale(1.2) rotate(10deg);
    color: #1d4ed8;
}

.upload-zone.uploading {
    border-color: #10b981;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.upload-zone.success {
    border-color: #10b981;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.upload-zone.error {
    border-color: #ef4444;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

.upload-zone::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.upload-zone:hover::before,
.upload-zone.drag-over::before {
    opacity: 1;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.upload-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.upload-icon-container {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.upload-icon {
    font-size: 4rem;
    color: #3b82f6;
    display: block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.upload-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.upload-zone.drag-over .upload-animation {
    opacity: 1;
}

.upload-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid #3b82f6;
    border-radius: 50%;
}

.upload-pulse:nth-child(2) {
    animation-delay: 0.5s;
}

.upload-pulse:nth-child(3) {
    animation-delay: 1s;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.upload-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    transition: color 0.3s ease;
}

.upload-subtitle {
    margin: 0 0 1.5rem 0;
    color: #64748b;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.upload-formats {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.format-badge {
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    color: #475569;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.upload-zone:hover .format-badge {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e40af;
    transform: translateY(-2px);
}

.upload-size-limit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: #64748b;
    font-size: 0.875rem;
}

.upload-size-limit i {
    color: #3b82f6;
}

.upload-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 1rem 2rem;
    border-radius: 15px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.upload-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.upload-button:hover::before {
    left: 100%;
}

.upload-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
}

/* Progress States */
.upload-progress {
    text-align: center;
    padding: 2rem;
}

.progress-circle {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring-circle {
    stroke-dasharray: 163;
    stroke-dashoffset: 163;
    transition: stroke-dashoffset 0.3s ease;
    stroke-linecap: round;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 600;
    font-size: 1rem;
    color: #3b82f6;
}

.progress-message {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
}

.upload-success {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1rem;
    animation: successBounce 0.6s ease;
}

@keyframes successBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.upload-success h4 {
    color: #065f46;
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
}

.upload-success p {
    color: #047857;
    margin: 0;
}

.upload-error {
    text-align: center;
    padding: 2rem;
}

.error-icon {
    font-size: 4rem;
    color: #ef4444;
    margin-bottom: 1rem;
    animation: errorShake 0.6s ease;
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.upload-error h4 {
    color: #991b1b;
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
}

.upload-error p {
    color: #dc2626;
    margin: 0 0 1rem 0;
}

.upload-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.upload-actions .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.upload-actions .btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* ===== SHARED CONTROL BUTTON STYLES ===== */
.control-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.control-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.control-btn:hover::before {
    left: 100%;
}

.control-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.control-btn:active {
    transform: translateY(0);
    transition: transform 0.1s ease;
}

.control-btn.primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.control-btn.primary:hover {
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.6);
}

.control-btn.secondary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.control-btn.secondary:hover {
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.6);
}

.control-btn.success {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.control-btn.success:hover {
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
}

.control-btn:disabled {
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    color: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.control-btn:disabled:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.control-btn:disabled::before {
    display: none;
}

.control-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.control-btn:hover i {
    transform: scale(1.1);
}

.control-btn.interactive {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.control-btn.interactive:hover {
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.6);
}

.control-btn.interactive.active {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
}

/* Refine mode button style */
.control-btn.refine {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.control-btn.refine:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.control-btn.refine.active {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    box-shadow: 0 6px 20px rgba(29, 78, 216, 0.5);
}

