
* {
    box-sizing: border-box;
}

html {
    width: 100%;
    height: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: Inter, Arial, sans-serif;
    background: #f0f0f0;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}


.kr-mobile-app {
    font-family: Inter, Arial, sans-serif;
    background: #f0f0f0;
    min-height: 100vh;
    width: 100%;
    margin: 0;
    position: relative;
    overflow-x: hidden;
}


.kr-header {
    background: #fff;
    padding: 1.5rem 1rem 1rem;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.kr-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    position: relative;
}

.kr-header-left {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex: 1;
}

.kr-language-switcher {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1100;
}

.kr-language-dropdown {
    position: relative;
}

.kr-language-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    color: #333;
}

.kr-language-button:hover {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.2);
}

.kr-language-button[aria-expanded="true"] {
    background: rgba(0, 123, 255, 0.1);
    border-color: rgba(0, 123, 255, 0.3);
}

.kr-current-language {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.kr-language-flag {
    font-size: 1.1rem;
    line-height: 1;
}

.kr-language-name {
    font-weight: 500;
    white-space: nowrap;
}

.kr-dropdown-arrow {
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.kr-language-button[aria-expanded="true"] .kr-dropdown-arrow {
    transform: rotate(180deg);
}

.kr-language-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.25rem;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    z-index: 1200;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
}

.kr-language-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.kr-language-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 0.75rem;
    text-decoration: none;
    color: #333;
    transition: background-color 0.15s ease;
    font-size: 0.875rem;
}

.kr-language-option:hover {
    background: rgba(0, 0, 0, 0.05);
}

.kr-language-option.active {
    background: rgba(0, 123, 255, 0.1);
    color: #0056b3;
    font-weight: 600;
}

.kr-language-option.active .kr-language-flag {
    filter: brightness(1.1);
}


@media (max-width: 480px) {
    .kr-language-name {
        display: none;
    }
    
    .kr-language-button {
        padding: 0.5rem;
        min-width: 40px;
    }
    
    .kr-current-language {
        gap: 0;
    }
    
    .kr-language-menu {
        right: -10px;
        min-width: 120px;
    }
    
    .kr-language-option .kr-language-name {
        display: block;
    }
}

@media (max-width: 375px) {
    .kr-language-menu {
        right: -20px;
    }
}

.kr-wifi-icon {
    font-size: 1.5rem;
    color: #000;
}

.kr-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: #000;
    letter-spacing: 0.5px;
}

.kr-title-logo {
    display: block;
    width: 100%;
    height: auto;
}


.kr-main {
    background: #fff;
    padding: 1.5rem;
    flex: 1;
}


.kr-welcome-section {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    min-height: 160px;
}

.kr-welcome-illustration {
    flex: 1;
    position: relative;
    height: 160px;
}


.kr-stick-figure {
    position: absolute;
    left: 20px;
    top: 10px;
}

.kr-stick-head {
    width: 12px;
    height: 12px;
    border: 2px solid #000;
    border-radius: 50%;
    margin-bottom: 2px;
}

.kr-stick-body {
    width: 2px;
    height: 30px;
    background: #000;
    margin: 0 auto;
    position: relative;
}

.kr-stick-arms {
    position: absolute;
    top: 15px;
    left: -10px;
    width: 20px;
    height: 2px;
    background: #000;
}

.kr-stick-legs {
    position: absolute;
    top: 42px;
    left: -6px;
    width: 12px;
    height: 2px;
    background: #000;
}

.kr-stick-legs::before,
.kr-stick-legs::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 15px;
    background: #000;
}

.kr-stick-legs::before {
    left: 0;
    top: 0;
    transform: rotate(15deg);
}

.kr-stick-legs::after {
    right: 0;
    top: 0;
    transform: rotate(-15deg);
}


.kr-welcome-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}


@media (min-width: 480px) {
    .kr-welcome-section { min-height: 200px; }
    .kr-welcome-illustration { height: 200px; }
}
@media (min-width: 768px) {
    .kr-welcome-section { min-height: 260px; }
    .kr-welcome-illustration { height: 260px; }
}
@media (min-width: 1024px) {
    .kr-welcome-section { min-height: 320px; }
    .kr-welcome-illustration { height: 320px; }
}


.kr-table-illustration {
    position: absolute;
    right: 20px;
    top: 20px;
}

.kr-table-top {
    width: 40px;
    height: 3px;
    background: #000;
    position: relative;
}

.kr-table-leg1,
.kr-table-leg2 {
    position: absolute;
    width: 2px;
    height: 20px;
    background: #000;
    top: 3px;
}

.kr-table-leg1 {
    left: 5px;
}

.kr-table-leg2 {
    right: 5px;
}


.kr-speech-bubbles {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

.kr-speech-bubble {
    background: #fff;
    border: 1px solid #000;
    border-radius: 15px;
    padding: 0.5rem 1rem;
    position: relative;
    font-size: 0.9rem;
    max-width: 80%;
}

.kr-speech-bubble::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #000;
}

.kr-speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 21px;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid #fff;
}


.kr-image-slider-section {
    margin-bottom: 2rem;
}

.kr-image-slider {
    position: relative;
    width: 600px;
    max-width: 100%;
    height: 400px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
}

.kr-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.kr-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.kr-slider-item {
    flex: 0 0 100%;
    position: relative;
    width: 100%;
    height: 100%;
}

.kr-slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.kr-slider-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgb(0 0 0 / 0.7));
    color: white;
    padding: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.kr-slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.kr-slider-nav {
    background: rgb(0 0 0 / 0.5);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin: 0 0.5rem;
    font-size: 1.2rem;
}

.kr-slider-nav:hover {
    background: rgb(0 0 0 / 0.7);
    transform: scale(1.1);
}

.kr-slider-nav:active {
    transform: scale(0.95);
}

.kr-slider-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.kr-slider-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgb(255 255 255 / 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    flex-shrink: 0;
}
@media (prefers-reduced-motion: reduce) {
    .kr-slider-track {
        transition: none;
    }
}

.kr-slider-indicator.active {
    background: white;
    transform: scale(1.2);
}

.kr-slider-indicator:hover {
    background: rgb(255 255 255 / 0.8);
}

.kr-slider-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4a90e2 0%, #7bb3f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}


.kr-info-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.kr-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.kr-info-icon {
    width: 94px;
    height: 94px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.kr-info-icon--large {
    width: 94px;
    height: 94px;
}


.kr-info-img {
    width: 94px;
    height: 94px;
    display: block;
    object-fit: contain;
    margin: 0;
    padding: 0;
}

.kr-info-circle {
    width: 52px; 
    height: 52px; 
    border: 2px solid #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem; 
    font-weight: bold;
}

.kr-info-text {
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}


.kr-pointing-figure {
    position: relative;
    width: 40px;
    height: 40px;
}

.kr-point-head {
    width: 8px;
    height: 8px;
    border: 2px solid #000;
    border-radius: 50%;
    position: absolute;
    top: 5px;
    left: 15px;
}

.kr-point-body {
    width: 2px;
    height: 20px;
    background: #000;
    position: absolute;
    top: 15px;
    left: 18px;
}

.kr-point-arm {
    width: 15px;
    height: 2px;
    background: #000;
    position: absolute;
    top: 22px;
    left: 20px;
    transform: rotate(-30deg);
}


.kr-footer {
    background: #fff;
    padding: 1rem;
    text-align: center;
    border-top: 1px solid #e0e0e0;
    margin-top: auto;
}

.kr-footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.kr-footer-link {
    color: #000;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.kr-footer-link:hover {
    text-decoration: underline;
}

.kr-footer-separator {
    color: #666;
    font-size: 0.9rem;
}


.kr-back-button {
    color: #000;
    text-decoration: none;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kr-waste-report-container {
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
}

.kr-form-intro {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.kr-form-intro h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.kr-form-intro p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.kr-location-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.kr-location-status.kr-location-success {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.kr-location-status.kr-location-error {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.kr-location-icon {
    font-size: 1.2rem;
}

.kr-waste-form {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
}

.kr-form-group {
    margin-bottom: 1.5rem;
}

.kr-form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.kr-camera-wrapper {
    position: relative;
}


.kr-camera-preview {
    position: relative;
}
.kr-preview-image {
    width: 100%;
    height: auto;
    max-width: 1024px;
    max-height: 1024px;
    margin-top: 15px;
    border-radius: 8px;
}

.kr-camera-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px dashed #ddd;
    border-radius: 8px;
    background: #f8f9fa;
    cursor: pointer;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    
    display: block;
}

.kr-camera-input:hover {
    border-color: #4a90e2;
}


.kr-camera-button {
    width: 100%;
    padding: 1rem;
    border: 2px dashed #ddd;
    border-radius: 8px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: #333;
    font-family: inherit;
    
    display: none;
}

.kr-camera-button:hover {
    border-color: #4a90e2;
    background: #f0f4f8;
}

.kr-camera-button-icon,
.kr-camera-button-icon svg {
    width: 0.975rem;
    height: 0.975rem;
}
.kr-camera-button-icon { color: #4a90e2; display: inline-block; vertical-align: middle; }

.kr-camera-button-text {
    font-weight: 600;
    display: block;
}

.kr-camera-button-text-desktop {
    font-weight: 600;
    display: none;
}


@media (max-width: 767px) {
    .kr-camera-input {
        position: absolute;
        left: -9999px;
        width: 1px;
        height: 1px;
        opacity: 0;
    }

    .kr-camera-button {
        display: flex;
    }

    .kr-camera-button-text {
        display: block;
    }

    .kr-camera-button-text-desktop {
        display: none;
    }
}


@media (min-width: 768px) {
    .kr-camera-input {
        display: block;
    }

    .kr-camera-button {
        display: none;
    }
}

.kr-description-input {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    box-sizing: border-box;
}

.kr-description-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgb(37 99 235 / 0.15);
}


.kr-email-input {
    width: 100%;
    padding: 0.65rem 0.9rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.kr-email-input:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 2px rgb(16 185 129 / 0.16);
}


.kr-email-input.kr-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 2px rgb(239 68 68 / 0.18);
}
.kr-checkbox-inline.kr-invalid .kr-checkbox-label {
    color: #ef4444;
}
.kr-checkbox-inline.kr-invalid .kr-checkbox-input { accent-color: #ef4444; }
.kr-checkbox-inline { gap: .6rem; }
.kr-checkbox-label { line-height: 1.2; }

.kr-form-actions {
    text-align: center;
    margin-top: 2rem;
}


.kr-checkbox-inline {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    width: 100%;
}
.kr-checkbox-input {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: #2563eb;
    flex: 0 0 auto;
    margin-top: 0.15rem;
}
.kr-checkbox-label {
    font-size: 0.95rem;
    flex: 1 1 auto;
    display: block;
    line-height: 1.35;
    cursor: pointer;
    word-break: normal;
}


.kr-collapse {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-4px);
    transition: max-height 220ms ease, opacity 180ms ease, transform 180ms ease;
}
.kr-collapse.open {
    max-height: 320px; 
    opacity: 1;
    transform: translateY(0);
}


.kr-help {
    display: block;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    color: #6b7280;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-3px);
    transition: max-height 200ms ease, opacity 160ms ease, transform 160ms ease;
}
.kr-help.kr-error { color: #ef4444; }
.kr-help.visible {
    max-height: 60px;
    opacity: 1;
    transform: translateY(0);
}


.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.kr-inline-check { display: inline-block; color: inherit; }
.kr-inline-box {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.kr-inline-indicator {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid #9ca3af;
    background: #fff;
    position: relative;
    flex: 0 0 auto;
}
.kr-inline-text { font-size: 0.95rem; }
.kr-inline-check input:focus-visible + .kr-inline-box { outline: 2px solid #2563eb; outline-offset: 2px; }
.kr-inline-check input:checked + .kr-inline-box .kr-inline-indicator { border-color: #2563eb; background: #2563eb; }
.kr-inline-check input:checked + .kr-inline-box .kr-inline-indicator::after {
    content: '';
    position: absolute;
    width: 9px;
    height: 6px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
    left: 3.5px;
    top: 3px;
}

.kr-consent {
    display: block;
    text-decoration: none;
    color: inherit;
}
.kr-consent-box {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.85rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    transition: background-color 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}
.kr-consent:hover .kr-consent-box {
    background: #fafafa;
}
.kr-consent input:focus-visible + .kr-consent-box,
.kr-consent input:focus + .kr-consent-box {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}
.kr-consent-indicator {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid #9ca3af;
    background: #fff;
    position: relative;
    flex: 0 0 auto;
    margin-top: 2px;
    transition: border-color 120ms ease, background-color 120ms ease;
}
.kr-consent-text { line-height: 1.35; }

.kr-consent input:checked + .kr-consent-box .kr-consent-indicator {
    border-color: #2563eb;
    background: #2563eb;
}
.kr-consent input:checked + .kr-consent-box .kr-consent-indicator::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 6px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
    left: 4px;
    top: 4px;
}

.kr-hint {
    font-size: 0.9rem;
    color: #4b5563;
    margin-top: 0.25rem;
}


.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip-link:focus {
    left: 12px;
    top: 12px;
    width: auto;
    height: auto;
    padding: 0.5rem 0.75rem;
    background: #111827;
    color: #fff;
    border-radius: 6px;
    z-index: 1000;
}


.kr-slider-nav:focus,
.kr-slider-indicator:focus,
.kr-footer-link:focus,
.kr-btn:focus,
.kr-info-link:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.kr-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0.25rem;
}

.kr-btn-primary {
    background: #4a90e2;
    color: white;
}

.kr-btn-primary:hover:not(:disabled) {
    background: #357abd;
}

.kr-btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.kr-btn-secondary {
    background: #6c757d;
    color: white;
}

.kr-btn-secondary:hover {
    background: #5a6268;
}

.kr-alert {
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.kr-alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.kr-alert-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.kr-success-container {
    text-align: center;
    padding: 2rem;
}

.kr-success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.kr-success-container h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.kr-success-container p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 2rem;
}

.kr-success-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.kr-info-link {
    color: #4a90e2;
    text-decoration: none;
    transition: color 0.3s ease;
}

.kr-info-link:hover {
    color: #357abd;
    text-decoration: underline;
}

.kr-location-retry-btn {
    background: #4a90e2;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    margin-left: 0.5rem;
    transition: background-color 0.3s ease;
}

.kr-location-retry-btn:hover {
    background: #357abd;
}

.kr-camera-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.kr-camera-status.kr-camera-success {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.kr-camera-status.kr-camera-error {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.kr-camera-icon {
    font-size: 1.2rem;
}


.kr-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.kr-login-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgb(0 0 0 / 0.08);
    padding: 2rem;
}

.kr-login-title {
    margin: 0 0 0.25rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
}

.kr-login-subtitle {
    margin: 0 0 1.25rem 0;
    color: #6b7280;
    font-size: 0.95rem;
}

.kr-login-info {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    color: #374151;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.kr-link {
    color: #2563eb;
    text-decoration: none;
}

.kr-link:hover { text-decoration: underline; }

.kr-login-form { margin-top: 0.5rem; }

.kr-form-group { margin-bottom: 1rem; }

.kr-label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    color: #374151;
}


.form-control {
    display: block;
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    color: #111827;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgb(37 99 235 / 0.1);
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    border: 1px solid transparent;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.02s ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
    background-color: #2563eb;
    color: #fff;
}

.btn-primary:hover { background-color: #1d4ed8; }

.btn-block { width: 100%; }


.alert {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.alert-danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}


@media (min-width: 768px) {
    .kr-mobile-app {
        max-width: 500px;
        margin: 0 auto;
        border-radius: 0;
        box-shadow: none;
    }

    .kr-main {
        padding: 2rem;
    }

    .kr-welcome-section {
        min-height: 150px;
    }

    .kr-image-slider {
        width: 600px;
        height: 400px;
    }

    .kr-form-intro {
        padding: 1.5rem;
    }

    .kr-waste-form {
        padding: 2rem;
    }

    .kr-success-actions {
        flex-direction: row;
        justify-content: center;
    }

    .kr-btn {
        width: auto;
        min-width: 150px;
    }
}

@media (min-width: 1024px) {
    .kr-mobile-app {
        max-width: 600px;
    }

    .kr-main {
        padding: 3rem;
    }

    .kr-welcome-section {
        min-height: 180px;
    }

    .kr-image-slider {
        width: 600px;
        height: 400px;
    }

    .kr-info-section {
        padding: 0 2rem;
    }

    .kr-form-intro h2 {
        font-size: 1.5rem;
    }

    .kr-form-intro p {
        font-size: 1rem;
    }

    .kr-success-container {
        padding: 3rem;
    }

    .kr-success-container h2 {
        font-size: 2rem;
    }

    .kr-success-container p {
        font-size: 1.1rem;
    }
}

@media (min-width: 1200px) {
    .kr-mobile-app {
        max-width: 700px;
    }

    .kr-main {
        padding: 4rem;
    }

    .kr-welcome-section {
        min-height: 200px;
    }

    .kr-image-slider {
        width: 600px;
        height: 400px;
    }
}


@media (max-width: 375px) {
    .kr-title {
        font-size: 1rem;
    }

    .kr-speech-bubble {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .kr-main {
        padding: 1rem;
    }

    .kr-waste-form {
        padding: 1rem;
    }

    .kr-form-intro {
        padding: 1rem;
    }

    .kr-success-container {
        padding: 1.5rem;
    }
}


@media (orientation: landscape) and (max-height: 500px) {
    .kr-welcome-section {
        min-height: 80px;
    }

    .kr-image-slider {
        width: 100%;
        height: 150px;
    }

    .kr-speech-bubble {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }

    .kr-main {
        padding: 1rem;
    }

    .kr-success-container {
        padding: 1rem;
    }

    .kr-success-icon {
        font-size: 2rem;
    }
}
