/* custom-PassportPhotoGenerator.css
   Custom styles for the SG Passport Photo Studio.
   Plain classes only — no CSS variables, so it stays .NET friendly. */

body {
    font-family: "Segoe UI", Arial, sans-serif;
    color: #1f2933;
    background-color: #f4f6f9;
    padding-top: 70px;
}

/* ---------- Navigation ---------- */
.app-navbar {
    background-color: #0b3d6b;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.brand-badge {
    display: inline-block;
    background-color: #d72631;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    padding: 4px 8px;
    border-radius: 4px;
}

.brand-text {
    font-weight: 600;
    letter-spacing: 0.3px;
}

.app-navbar .nav-link {
    color: #d7e3f0;
    font-weight: 500;
    padding-left: 16px;
    padding-right: 16px;
}

.app-navbar .nav-link:hover {
    color: #ffffff;
}

.app-navbar .nav-link.active {
    color: #ffffff;
    border-bottom: 2px solid #d72631;
}

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(135deg, #0b3d6b 0%, #14589c 100%);
    color: #ffffff;
    padding: 70px 0;
}

.hero h1 {
    font-weight: 700;
    font-size: 2.6rem;
}

.hero p {
    font-size: 1.15rem;
    color: #dce8f5;
}

.hero-card {
    background-color: #ffffff;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
    padding: 18px;
}

.hero-photo {
    border-radius: 10px;
    width: 100%;
    height: auto;
}

/* ---------- Generic sections ---------- */
.section {
    padding: 60px 0;
}

.section-title {
    font-weight: 700;
    color: #0b3d6b;
    margin-bottom: 10px;
}

.section-sub {
    color: #5a6b7b;
    margin-bottom: 36px;
}

.feature-card {
    background-color: #ffffff;
    border: 1px solid #e4e9f0;
    border-radius: 12px;
    padding: 28px 24px;
    height: 100%;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(11, 61, 107, 0.12);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #eaf2fb;
    color: #0b3d6b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.feature-card h5 {
    color: #0b3d6b;
    font-weight: 600;
}

.feature-card p {
    color: #5a6b7b;
    margin-bottom: 0;
}

/* ---------- Buttons ---------- */
.btn-sg {
    background-color: #d72631;
    border-color: #d72631;
    color: #ffffff;
    font-weight: 600;
}

.btn-sg:hover {
    background-color: #b81f29;
    border-color: #b81f29;
    color: #ffffff;
}

.btn-sg-outline {
    background-color: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    font-weight: 600;
}

.btn-sg-outline:hover {
    background-color: #ffffff;
    color: #0b3d6b;
}

/* ---------- Generator / editor ---------- */
.editor-panel {
    background-color: #ffffff;
    border: 1px solid #e4e9f0;
    border-radius: 12px;
    padding: 22px;
}

.editor-panel h5 {
    color: #0b3d6b;
    font-weight: 600;
    margin-bottom: 16px;
}

.canvas-stage {
    position: relative;
    background-color: #e9eef4;
    border: 1px dashed #b6c2d1;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 480px;
    overflow: hidden;
}

#editorCanvas {
    background-color: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    cursor: grab;
    max-width: 100%;
    touch-action: none;
}

#editorCanvas.dragging {
    cursor: grabbing;
}

.empty-hint {
    text-align: center;
    color: #7a8a9a;
    padding: 30px;
}

.empty-hint .big {
    font-size: 46px;
    line-height: 1;
    margin-bottom: 12px;
}

.control-label {
    font-weight: 600;
    color: #34465a;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.control-value {
    float: right;
    color: #7a8a9a;
    font-weight: 500;
}

.upload-drop {
    border: 2px dashed #b6c2d1;
    border-radius: 10px;
    padding: 22px;
    text-align: center;
    color: #5a6b7b;
    background-color: #fbfcfe;
}

.spec-pill {
    display: inline-block;
    background-color: #eaf2fb;
    color: #0b3d6b;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.82rem;
    font-weight: 600;
    margin: 0 6px 6px 0;
}

.preview-stage {
    background-color: #e9eef4;
    border: 1px solid #d4dde7;
    border-radius: 10px;
    padding: 14px;
    text-align: center;
    min-height: 200px;
}

#sheetPreview {
    max-width: 100%;
    height: auto;
    background-color: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #0b3d6b;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    margin-right: 8px;
}

/* ---------- Requirements page ---------- */
.req-table th {
    background-color: #0b3d6b;
    color: #ffffff;
    font-weight: 600;
}

.req-do {
    border-left: 4px solid #2e8b57;
}

.req-dont {
    border-left: 4px solid #d72631;
}

.req-list li {
    margin-bottom: 8px;
}

/* ---------- Footer ---------- */
.app-footer {
    background-color: #0b3d6b;
    color: #d7e3f0;
    padding: 34px 0;
    margin-top: 50px;
}

.footer-brand {
    font-weight: 700;
    color: #ffffff;
    font-size: 1.1rem;
}

.footer-sub {
    color: #aac3df;
    font-size: 0.9rem;
    margin-top: 4px;
}

.footer-link {
    color: #d7e3f0;
    text-decoration: none;
    margin-left: 18px;
    font-weight: 500;
}

.footer-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-copy {
    color: #8fb0d2;
    font-size: 0.82rem;
}

@media (max-width: 767px) {
    .footer-link {
        margin: 0 9px;
    }
    .hero h1 {
        font-size: 2rem;
    }
}
