/* General Body Styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: #eef2f9; /* A very light, clean blue-gray */
}

/* Main Card Styling */
.main-card {
    background: linear-gradient(145deg, #ffffff, #f3f6fa);
    box-shadow: 20px 20px 60px #c8cbd0, -20px -20px 60px #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Toast Notification for Copying */
.toast {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 16px;
    position: fixed;
    z-index: 50;
    left: 50%;
    bottom: 30px;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    transform: translateY(20px);
}

.toast.show {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* Tab Button Styling */
.tab-btn {
    position: relative;
    transition: color 0.3s ease;
    color: #64748b; /* slate-500 */
}

.tab-btn.active {
    color: #0ea5e9; /* sky-500 */
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #0ea5e9;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-btn.active::after {
    transform: scaleX(1);
}

/* Textarea Styling */
textarea {
    background-color: #f8fafc; /* slate-50 */
    border-color: #e2e8f0; /* slate-200 */
    color: #334155; /* slate-700 */
    transition: all 0.2s ease;
}

textarea:focus {
    background-color: #ffffff;
    border-color: #38bdf8; /* sky-400 */
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
    outline: none;
}

/* Visual Preview Link Styling */
#output-visual a {
    color: #0ea5e9; /* sky-500 */
    text-decoration: none;
    border-bottom: 1px solid #bae6fd; /* sky-200 */
    transition: color 0.2s ease;
}

#output-visual a:hover {
    color: #0284c7; /* sky-600 */
    border-bottom-color: #0284c7;
}
