@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #f0f4f8;
    color: #334155;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
}

.card {
    background-color: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.upload-area {
    border: 2px dashed #d1d5db;
    transition: all 0.2s ease-in-out;
}

.upload-area.dragover {
    border-color: #6366f1;
    background-color: #eef2ff;
}

.btn {
    border-radius: 9999px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.btn-primary {
    background-color: #6366f1;
    color: white;
}

.btn-primary:hover {
    background-color: #4f46e5;
}

.btn-primary:disabled {
    background-color: #a5b4fc;
    cursor: not-allowed;
}

.btn-secondary {
    background-color: #e2e8f0;
    color: #4a5568;
}

.btn-secondary:hover {
    background-color: #cbd5e0;
}

.crop-container {
    max-height: 60vh;
}

.toggle-bg:after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    background: white;
    border-radius: 9999px;
    height: 1.25rem;
    width: 1.25rem;
    transition: all 0.3s;
}

input:checked + .toggle-bg:after {
    transform: translateX(100%);
}

input:checked + .toggle-bg {
    background-color: #6366f1;
}

/* Header/Footer Styles */
.main-header {
    background-color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.main-footer {
    background-color: #1e293b;
    color: #94a3b8;
}

.main-footer a {
    color: #e2e8f0;
    transition: color 0.2s ease-in-out;
}

.main-footer a:hover {
    color: #6366f1;
}

/* Description Column Styles */
.tool-description h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}

.tool-description p {
    margin-top: 1rem;
    font-size: 1.125rem;
    color: #475569;
    line-height: 1.75;
}

.tool-description ul {
    margin-top: 1.5rem;
    list-style: none;
    padding: 0;
}

.tool-description li {
    display: flex;
    align-items: flex-start;
    margin-top: 1rem;
    font-size: 1rem;
    color: #334155;
}

.tool-description li svg {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    color: #6366f1;
    margin-right: 0.75rem;
    margin-top: 0.125rem;
}