/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */
@import "home.css";
@import "actiontext.css";

/* ActionText Image Responsive */
.trix-content img {
    max-width: 100%;
    height: auto;
}

.trix-content .attachment {
    max-width: 100%;
    height: auto;
}

/* Admin Settings Styles */
:root {
    --font-main: 'Noto Sans KR', sans-serif;
    --font-serif: 'Noto Serif KR', serif;

    --admin-bg: #fdfbf7;
    --admin-card-bg: #ffffff;
    --admin-border-color: #e0e0e0;
    --admin-primary: #8cb953;
    --admin-primary-dark: #7da54a;
    --admin-text-main: #2c2c2c;
    --admin-text-sub: #666666;
    --admin-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --admin-radius: 12px;
}

.admin-settings-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: var(--font-main);
}

.admin-page-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--admin-text-main);
    margin-bottom: 30px;
    text-align: center;
}

.settings-card {
    background: var(--admin-card-bg);
    border-radius: var(--admin-radius);
    box-shadow: var(--admin-shadow);
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.settings-card h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--admin-text-main);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--admin-primary);
    display: inline-block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--admin-text-main);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--admin-border-color);
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.2s;
    box-sizing: border-box;
    /* Ensure padding doesn't affect width */
}

.form-control:focus {
    outline: none;
    border-color: var(--admin-primary);
    box-shadow: 0 0 0 3px rgba(140, 185, 83, 0.1);
}

select.form-control {
    background-color: white;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%232c2c2c%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
}

.form-actions {
    text-align: center;
    margin-top: 40px;
}

.btn-primary {
    background-color: var(--admin-primary);
    color: white;
    border: none;
    padding: 14px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(140, 185, 83, 0.3);
    transition: all 0.2s;
}

.btn-primary:hover {
    background-color: var(--admin-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(140, 185, 83, 0.4);
}