.mr-page {
    padding: 1rem;
    padding-bottom: 6rem;
}

.mr-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #6b7280;
    font-size: 0.9rem;
    text-decoration: none;
    margin-bottom: 1.25rem;
}

.mr-back:hover {
    color: #374151;
}

.mr-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.5rem;
}

.mr-subtitle {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.4;
    margin: 0 0 1.25rem;
}

.mr-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem;
}

.mr-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 1.25rem;
}

.mr-field {
    margin-bottom: 1.25rem;
}

.mr-field:last-child {
    margin-bottom: 0;
}

.mr-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.mr-static {
    font-size: 0.95rem;
    color: #1f2937;
    font-weight: 500;
}

.mr-date-static {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 0.6rem;
    font-size: 0.95rem;
    color: #1f2937;
}

.mr-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.mr-input {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.6rem;
    background: #f9fafb;
    font-size: 0.95rem;
    color: #1f2937;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.mr-input:focus {
    border-color: #dc2626;
    background: #ffffff;
}

.mr-input-suffix {
    position: absolute;
    right: 0.75rem;
    font-size: 0.85rem;
    color: #9ca3af;
    pointer-events: none;
}

.mr-textarea {
    min-height: 5rem;
    resize: vertical;
}

.mr-hint {
    display: block;
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 0.35rem;
    line-height: 1.3;
}

.mr-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.5rem;
}

.mr-toggle-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #1f2937;
}

.mr-switch {
    position: relative;
    display: inline-block;
    width: 2.75rem;
    height: 1.5rem;
    flex-shrink: 0;
}

.mr-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.mr-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #d1d5db;
    border-radius: 9999px;
    transition: background-color 0.2s ease;
}

.mr-slider::before {
    position: absolute;
    content: "";
    height: 1.1rem;
    width: 1.1rem;
    left: 0.2rem;
    bottom: 0.2rem;
    background-color: #ffffff;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.mr-switch input:checked + .mr-slider {
    background-color: #dc2626;
}

.mr-switch input:checked + .mr-slider::before {
    transform: translateX(1.25rem);
}

.mr-error {
    font-size: 0.8rem;
    color: #dc2626;
    margin-top: 0.35rem;
}

.mr-error-global {
    background: #fee2e2;
    color: #991b1b;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.mr-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding-top: 0.5rem;
}

.mr-btn-cancel {
    padding: 0.65rem 1.1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.6rem;
    background: #ffffff;
    color: #374151;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.mr-btn-cancel:hover {
    background: #f3f4f6;
}

.mr-btn-save {
    padding: 0.65rem 1.1rem;
    border: none;
    border-radius: 0.6rem;
    background: #dc2626;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.mr-btn-save:hover {
    background: #b91c1c;
}

.mr-btn-save:disabled {
    background: #f87171;
    cursor: not-allowed;
}
