/* File: assets/css/style.css */
/* Main stylesheet for ScoreMyArt */

/* ----------------------------- */
/* --- Global Styles & Fonts --- */
/* ----------------------------- */
body {
    font-family: 'Inter', sans-serif;
    background-color: #F7F7F7; /* Light Gray Page Background */
    color: #333333; /* Default text color */
}

/* Sticky footer layout: footer at bottom of viewport when content is short */
html, body {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Allow main content to grow and push the footer down */
main {
    flex: 1 0 auto;
}

/* -------------------------- */
/* --- Reusable Components -- */
/* -------------------------- */

/* Main content container for forms, etc. */
.content-container {
    width: 100%;
    max-width: 28rem; /* 448px */
    padding: 2rem; /* 32px */
    background-color: #FFFFFF;
    border-radius: 0.5rem; /* 8px */
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

/* Primary Call-to-Action Button */
.btn-primary {
    display: inline-block;
    width: 100%;
    text-align: center;
    background-color: #F58634; /* Brand Orange */
    color: #FFFFFF;
    font-weight: bold;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem; /* 8px */
    transition: background-color 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #E47521; /* Slightly darker orange */
}

/* Secondary Button */
.btn-secondary {
    display: inline-block;
    width: 100%;
    text-align: center;
    background-color: #6B7280; /* Gray */
    color: #FFFFFF;
    font-weight: bold;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem; /* 8px */
    transition: background-color 0.2s;
    border: none;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #4B5563; /* Slightly darker gray */
}

/* Form Input Fields */
.form-input {
    margin-top: 0.25rem;
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    background-color: #FFFFFF;
    border: 1px solid #DDDDDD;
    border-radius: 0.375rem; /* 6px */
    box-shadow: inset 0 1px 2px rgb(0 0 0 / 0.05);
}

.form-input:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    border-color: #F58634;
    box-shadow: 0 0 0 2px #F58634;
}

/* -------------------------- */
/* --- Modal & Critique Styles -- */
/* -------------------------- */

/* Blur effect for flagged comments */
.blur-sm {
    filter: blur(4px);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Critique card hover effects */
.critique-card {
    transition: all 0.2s ease-in-out;
}

.critique-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Flagged comment styling */
.flagged-comment {
    border: 2px solid #FEE2E2;
    background-color: #FEF2F2;
}

.flagged-comment .blur-overlay {
    background: linear-gradient(135deg, rgba(254, 226, 226, 0.9), rgba(254, 242, 242, 0.9));
}

